mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2172 - add missing RegExpShared TraceKind declaration
This commit is contained in:
parent
b27c5cf236
commit
cd1920af58
2 changed files with 7 additions and 0 deletions
|
|
@ -344,6 +344,10 @@ JS_GetTraceThingInfo(char* buf, size_t bufsize, JSTracer* trc, void* thing,
|
|||
name = "object_group";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::RegExpShared:
|
||||
name = "reg_exp_shared";
|
||||
break;
|
||||
|
||||
default:
|
||||
name = "INVALID";
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue