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

This commit is contained in:
Martok 2023-01-04 20:48:25 +01:00 committed by roytam1
commit 86782b8f39

View file

@ -134,8 +134,8 @@ class RegExpShared
bool canStringMatch;
bool marked_;
uint32_t numNamedCaptures_;
GCPtr<PlainObject*> groupsTemplate_;
uint32_t numNamedCaptures_;
HeapPtr<PlainObject*> groupsTemplate_;
RegExpCompilation compilationArray[4];