From 7faa37b7df29db8bc597f1099ba73218c51ff523 Mon Sep 17 00:00:00 2001 From: roytam1 Date: Wed, 1 Feb 2023 10:56:26 +0800 Subject: [PATCH] reverting rev 22dc363c and 233802c9 for now since I got a crash in destructor of RegExpShared. --- js/src/vm/RegExpObject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h index 4f35908087..0056c6aee9 100644 --- a/js/src/vm/RegExpObject.h +++ b/js/src/vm/RegExpObject.h @@ -128,14 +128,14 @@ class RegExpShared : public gc::TenuredCell }; /* Source to the RegExp, for lazy compilation. */ - GCPtr source; + HeapPtr source; RegExpFlag flags; bool canStringMatch; size_t parenCount; - uint32_t numNamedCaptures_; - GCPtr groupsTemplate_; + uint32_t numNamedCaptures_; + HeapPtr groupsTemplate_; RegExpCompilation compilationArray[4];