summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-08-06 20:51:59 +0200
committerMartok <martok@martoks-place.de>2023-08-08 19:36:21 +0200
commitedfb29e1a250167ea2c014991f2673f2d91db509 (patch)
tree741f4fae3b970f5c5b29f1c85bc7ccb27a5180a8 /js
parent41f38134f1983db63b9cc6c7bc457a7418af12b6 (diff)
downloaduxp-edfb29e1a250167ea2c014991f2673f2d91db509.tar.gz
Issue #2172 - ensure pointers in RegExpShared are updated after GC compacting
Diffstat (limited to 'js')
-rw-r--r--js/src/jsgc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 5c2835cca9..c849bacc8c 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -2323,7 +2323,8 @@ static const AllocKinds UpdatePhaseMisc {
AllocKind::ACCESSOR_SHAPE,
AllocKind::OBJECT_GROUP,
AllocKind::STRING,
- AllocKind::JITCODE
+ AllocKind::JITCODE,
+ AllocKind::REGEXP_SHARED
};
static const AllocKinds UpdatePhaseObjects {