From 86782b8f397a83fd775d73a1c8c2f0cf5f97bd14 Mon Sep 17 00:00:00 2001 From: Martok Date: Wed, 4 Jan 2023 20:48:25 +0100 Subject: [PATCH] Issue #1382 - RegExpShared::groupsTemplate_ cannot be a GCPtr since RegExpShared is managed by C++ --- js/src/vm/RegExpObject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h index 17d961eede..547746529a 100644 --- a/js/src/vm/RegExpObject.h +++ b/js/src/vm/RegExpObject.h @@ -134,8 +134,8 @@ class RegExpShared bool canStringMatch; bool marked_; - uint32_t numNamedCaptures_; - GCPtr groupsTemplate_; + uint32_t numNamedCaptures_; + HeapPtr groupsTemplate_; RegExpCompilation compilationArray[4];