diff --git a/js/src/vm/RegExpShared.h b/js/src/vm/RegExpShared.h index e5e66293be1f4b60ab7cb88f235cd9dc634705e2..acbf519d3bacd02d38ae424add8383571f9805fa 100644 --- a/js/src/vm/RegExpShared.h +++ b/js/src/vm/RegExpShared.h @@ -116,7 +116,7 @@ class RegExpShared : public gc::TenuredCell }; /* Source to the RegExp, for lazy compilation. */ - HeapPtr<JSAtom*> source; + GCPtr<JSAtom*> source; RegExpFlag flags; bool canStringMatch;