diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h index 4f35908087..0056c6aee9 100644 --- a/js/src/vm/RegExpObject.h +++ b/js/src/vm/RegExpObject.h @@ -128,14 +128,14 @@ class RegExpShared : public gc::TenuredCell }; /* Source to the RegExp, for lazy compilation. */ - GCPtr source; + HeapPtr source; RegExpFlag flags; bool canStringMatch; size_t parenCount; - uint32_t numNamedCaptures_; - GCPtr groupsTemplate_; + uint32_t numNamedCaptures_; + HeapPtr groupsTemplate_; RegExpCompilation compilationArray[4];