mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +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";
|
name = "object_group";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case JS::TraceKind::RegExpShared:
|
||||||
|
name = "reg_exp_shared";
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
name = "INVALID";
|
name = "INVALID";
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -259,6 +259,9 @@ class RegExpShared : public gc::TenuredCell
|
||||||
static bool dumpBytecode(JSContext* cx, MutableHandleRegExpShared res, bool match_only,
|
static bool dumpBytecode(JSContext* cx, MutableHandleRegExpShared res, bool match_only,
|
||||||
HandleLinearString input);
|
HandleLinearString input);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
public:
|
||||||
|
static const JS::TraceKind TraceKind = JS::TraceKind::RegExpShared;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RegExpCompartment
|
class RegExpCompartment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue