|
@@ -1,7 +1,7 @@
|
|
|
# HG changeset patch
|
|
|
# User Dmitry Butskoy <buc@buc.me>
|
|
|
# Date 1690631137 -7200
|
|
|
-# Parent 9b7195f743e56565392f2024dd26e52a1217e657
|
|
|
+# Parent 805c9f69c4ce4132e4e6dbca95298e4fb5cb179a
|
|
|
No Bug - Import new regexp V8 engine. r=frg a=frg
|
|
|
|
|
|
diff --git a/js/src/builtin/RegExp.cpp b/js/src/builtin/RegExp.cpp
|
|
@@ -432,7 +432,7 @@ diff --git a/js/src/vm/make_unicode.py b/js/src/vm/make_unicode.py
|
|
|
def write_special_casing_methods(unconditional_toupper, codepoint_table, println):
|
|
|
def hexlit(n):
|
|
|
""" Returns C++ hex-literal for |n|. """
|
|
|
-@@ -1300,215 +1287,16 @@ def splitbins(t):
|
|
|
+@@ -1300,216 +1287,16 @@ def splitbins(t):
|
|
|
dump(t1, t2, shift, bytes)
|
|
|
|
|
|
# exhaustively verify that the decomposition is correct
|
|
@@ -603,6 +603,7 @@ diff --git a/js/src/vm/make_unicode.py b/js/src/vm/make_unicode.py
|
|
|
- assert all(ch <= MAX_ASCII for ch in word_chars)
|
|
|
-
|
|
|
- # Characters which case-fold to characters in \w.
|
|
|
+- ignorecase_word_chars = (word_chars +
|
|
|
- [ch for ch in range(MAX_ASCII + 1, MAX_BMP + 1)
|
|
|
- if casefolds_to_ascii(ch)])
|
|
|
-
|
|
@@ -648,7 +649,7 @@ diff --git a/js/src/vm/make_unicode.py b/js/src/vm/make_unicode.py
|
|
|
baseurl = 'https://unicode.org/Public'
|
|
|
if version == 'UNIDATA':
|
|
|
url = '%s/%s' % (baseurl, version)
|
|
|
-@@ -1555,17 +1343,16 @@ def update_unicode(args):
|
|
|
+@@ -1556,17 +1343,16 @@ def update_unicode(args):
|
|
|
same_upper_table, same_upper_index,
|
|
|
non_bmp_lower_map, non_bmp_upper_map,
|
|
|
non_bmp_space_set,
|
|
@@ -666,7 +667,7 @@ diff --git a/js/src/vm/make_unicode.py b/js/src/vm/make_unicode.py
|
|
|
|
|
|
print('Generating...')
|
|
|
make_unicode_file(unicode_version,
|
|
|
-@@ -1573,22 +1360,17 @@ def update_unicode(args):
|
|
|
+@@ -1574,22 +1360,17 @@ def update_unicode(args):
|
|
|
same_upper_table, same_upper_index,
|
|
|
folding_table, folding_index,
|
|
|
non_bmp_space_set,
|