Revert "Issue #1382 - RegExpShared::groupsTemplate_ cannot be a GCPtr since RegExpShared is managed by C++"

This workaround has been obsoleted by the work on Issue #2083.
This reverts commit bbd743608685ec77ebebe480761118db8a988253.
This commit is contained in:
Job Bautista 2023-01-26 15:26:01 +08:00 committed by roytam1
commit 233802c9ab

View file

@ -134,8 +134,8 @@ class RegExpShared : public gc::TenuredCell
bool canStringMatch;
size_t parenCount;
uint32_t numNamedCaptures_;
HeapPtr<PlainObject*> groupsTemplate_;
uint32_t numNamedCaptures_;
GCPtr<PlainObject*> groupsTemplate_;
RegExpCompilation compilationArray[4];