summaryrefslogtreecommitdiff
path: root/js/src/vm
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-08-06 18:08:59 +0200
committerMartok <martok@martoks-place.de>2023-08-08 19:36:13 +0200
commit41f38134f1983db63b9cc6c7bc457a7418af12b6 (patch)
tree43eff57e2eaddcdcb20403de909cd0d18e7f4211 /js/src/vm
parent20ac6059cef7e9fc7f6f3c09ef9b96e26c2efa34 (diff)
downloaduxp-41f38134f1983db63b9cc6c7bc457a7418af12b6.tar.gz
Issue #2172 - add missing RegExpShared TraceKind declaration
Diffstat (limited to 'js/src/vm')
-rw-r--r--js/src/vm/RegExpObject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h
index 14ec8509ee..5247731112 100644
--- a/js/src/vm/RegExpObject.h
+++ b/js/src/vm/RegExpObject.h
@@ -259,6 +259,9 @@ class RegExpShared : public gc::TenuredCell
static bool dumpBytecode(JSContext* cx, MutableHandleRegExpShared res, bool match_only,
HandleLinearString input);
#endif
+
+ public:
+ static const JS::TraceKind TraceKind = JS::TraceKind::RegExpShared;
};
class RegExpCompartment