Issue #2083 - Follow-up: RegExpShared::source should be a GCPtr.

A hangover from before RegExpShared was a GC thing, as noted by m-c 1399928.
This commit is contained in:
Job Bautista 2023-01-28 19:32:24 +08:00 committed by roytam1
commit 22dc363c3a

View file

@ -128,7 +128,7 @@ class RegExpShared : public gc::TenuredCell
};
/* Source to the RegExp, for lazy compilation. */
HeapPtr<JSAtom*> source;
GCPtr<JSAtom*> source;
RegExpFlag flags;
bool canStringMatch;