[regexp] Ship Unicode Sets

Advance --harmony-regexp-unicode-sets to shpping, enabling it by
default.

Bug: v8:11935
Change-Id: I5dcf2c584775f25516c7a1846ac6bc53326eefbc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4217412
Auto-Submit: Patrick Thier <pthier@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Patrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85617}
This commit is contained in:
pthier 2023-02-02 11:47:27 +01:00 committed by V8 LUCI CQ
parent 656c74218f
commit 96f5bb7be4
2 changed files with 9 additions and 4 deletions

View File

@ -237,9 +237,8 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
#endif
// Features that are complete (but still behind the --harmony flag).
#define HARMONY_STAGED_BASE(V) \
V(harmony_regexp_unicode_sets, "harmony RegExp Unicode Sets") \
V(harmony_rab_gsab_transfer, "harmony ArrayBuffer.transfer") \
#define HARMONY_STAGED_BASE(V) \
V(harmony_rab_gsab_transfer, "harmony ArrayBuffer.transfer") \
V(harmony_array_grouping, "harmony array grouping")
DEFINE_IMPLICATION(harmony_rab_gsab_transfer, harmony_rab_gsab)
@ -259,7 +258,8 @@ DEFINE_IMPLICATION(harmony_rab_gsab_transfer, harmony_rab_gsab)
V(harmony_change_array_by_copy, "harmony change-Array-by-copy") \
V(harmony_string_is_well_formed, "harmony String#{is,to}WellFormed") \
V(harmony_rab_gsab, \
"harmony ResizableArrayBuffer / GrowableSharedArrayBuffer")
"harmony ResizableArrayBuffer / GrowableSharedArrayBuffer") \
V(harmony_regexp_unicode_sets, "harmony RegExp Unicode Sets")
#ifdef V8_INTL_SUPPORT
#define HARMONY_SHIPPING(V) \

View File

@ -384,6 +384,11 @@ expression: /123/
type : boolean
value : false
}
{
name : unicodeSets
type : boolean
value : false
}
expression: ({})