diff options
author | Martok <martok@martoks-place.de> | 2023-01-25 23:22:07 +0100 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-01-26 20:11:28 +0100 |
commit | 9faf29374ecf91fa0bfd906969a36f7303288b8d (patch) | |
tree | 461326906e92a1088b87414c6806f01364c35ca7 | |
parent | 75e4818d367ccadfbaf3ad0e0ba372221a14c048 (diff) | |
download | uxp-9faf29374ecf91fa0bfd906969a36f7303288b8d.tar.gz |
Issue #2093 - Trace HeapPtr<RegExpShared::groupsTemplate_> for GC move/compact events, regression from #2072
-rw-r--r-- | js/src/vm/RegExpObject.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/vm/RegExpObject.cpp b/js/src/vm/RegExpObject.cpp index 2c6d66381f..151571085d 100644 --- a/js/src/vm/RegExpObject.cpp +++ b/js/src/vm/RegExpObject.cpp @@ -970,6 +970,7 @@ RegExpShared::trace(JSTracer* trc) TraceNullableEdge(trc, &source, "RegExpShared source"); for (auto& comp : compilationArray) TraceNullableEdge(trc, &comp.jitCode, "RegExpShared code"); + TraceNullableEdge(trc, &groupsTemplate_, "RegExpShared groupsTemplate"); } bool |