diff options
author | Job Bautista <jobbautista9@protonmail.com> | 2023-01-28 19:32:24 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@protonmail.com> | 2023-01-28 19:32:24 +0800 |
commit | 5732cf1f17c07adb0cface7078c38e38d2f2d12c (patch) | |
tree | 3759839a6e575e08e2b46968ebd437e684252822 /js/src | |
parent | 40ef2a5756de0929d79cc9646697d718c56d7934 (diff) | |
download | uxp-5732cf1f17c07adb0cface7078c38e38d2f2d12c.tar.gz |
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.
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/vm/RegExpObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<JSAtom*> source; + GCPtr<JSAtom*> source; RegExpFlag flags; bool canStringMatch; |