|
@@ -1,11 +1,10 @@
|
|
|
# HG changeset patch
|
|
|
# User Frank-Rainer Grahl <frgrahl@gmx.net>
|
|
|
# Date 1690631530 -7200
|
|
|
-# Parent 0d44311d166f759f6b08ea02cd62ed574c90d998
|
|
|
+# Parent 1909f65e1651d5d02e7c0f5d283563b535ba11f8
|
|
|
No Bug - Switch to new regexp V8 engine additional fixes. r=frg a=frg
|
|
|
|
|
|
Fix x86 build and do not require turning on c++17 right now.
|
|
|
-Do not require Bug 1468406 part 4 nonCCWRealm
|
|
|
|
|
|
diff --git a/js/src/irregexp/RegExpAPI.cpp b/js/src/irregexp/RegExpAPI.cpp
|
|
|
--- a/js/src/irregexp/RegExpAPI.cpp
|
|
@@ -138,28 +137,6 @@ diff --git a/js/src/irregexp/util/ZoneShim.h b/js/src/irregexp/util/ZoneShim.h
|
|
|
capacity_ = new_capacity;
|
|
|
}
|
|
|
|
|
|
-diff --git a/js/src/vm/ObjectGroup.cpp b/js/src/vm/ObjectGroup.cpp
|
|
|
---- a/js/src/vm/ObjectGroup.cpp
|
|
|
-+++ b/js/src/vm/ObjectGroup.cpp
|
|
|
-@@ -317,17 +317,17 @@ JSObject::makeLazyGroup(JSContext* cx, H
|
|
|
-
|
|
|
- if (obj->isNative() && obj->as<NativeObject>().isIndexed())
|
|
|
- initialFlags |= OBJECT_FLAG_SPARSE_INDEXES;
|
|
|
-
|
|
|
- if (obj->is<ArrayObject>() && obj->as<ArrayObject>().length() > INT32_MAX)
|
|
|
- initialFlags |= OBJECT_FLAG_LENGTH_OVERFLOW;
|
|
|
-
|
|
|
- Rooted<TaggedProto> proto(cx, obj->taggedProto());
|
|
|
-- ObjectGroup* group = ObjectGroupRealm::makeGroup(cx, obj->nonCCWRealm(), obj->getClass(),
|
|
|
-+ ObjectGroup* group = ObjectGroupRealm::makeGroup(cx, obj->realm(), obj->getClass(),
|
|
|
- proto, initialFlags);
|
|
|
- if (!group)
|
|
|
- return nullptr;
|
|
|
-
|
|
|
- AutoEnterAnalysis enter(cx);
|
|
|
-
|
|
|
- /* Fill in the type according to the state of this object. */
|
|
|
-
|
|
|
diff --git a/js/src/vm/RegExpShared.h b/js/src/vm/RegExpShared.h
|
|
|
--- a/js/src/vm/RegExpShared.h
|
|
|
+++ b/js/src/vm/RegExpShared.h
|