diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h index 0056c6aee9..28adbb36fc 100644 --- a/js/src/vm/RegExpObject.h +++ b/js/src/vm/RegExpObject.h @@ -134,8 +134,8 @@ class RegExpShared : public gc::TenuredCell bool canStringMatch; size_t parenCount; - uint32_t numNamedCaptures_; - HeapPtr groupsTemplate_; + uint32_t numNamedCaptures_; + GCPtr groupsTemplate_; RegExpCompilation compilationArray[4];