From 22dc363c3a17ca58612736c21603bfa5baa577e1 Mon Sep 17 00:00:00 2001 From: Job Bautista Date: Sat, 28 Jan 2023 19:32:24 +0800 Subject: [PATCH] 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. --- js/src/vm/RegExpObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h index 28adbb36fc..4f35908087 100644 --- a/js/src/vm/RegExpObject.h +++ b/js/src/vm/RegExpObject.h @@ -128,7 +128,7 @@ class RegExpShared : public gc::TenuredCell }; /* Source to the RegExp, for lazy compilation. */ - HeapPtr source; + GCPtr source; RegExpFlag flags; bool canStringMatch;