mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Remove VerifyBarriers() and MaybeVerifyBarriers() stubs and callers.
This commit is contained in:
parent
10e8869a61
commit
a8821a2177
5 changed files with 0 additions and 29 deletions
|
|
@ -1647,7 +1647,6 @@ Interpret(JSContext* cx, RunState& state)
|
|||
#define ADVANCE_AND_DISPATCH(N) \
|
||||
JS_BEGIN_MACRO \
|
||||
REGS.pc += (N); \
|
||||
SANITY_CHECKS(); \
|
||||
DISPATCH_TO(*REGS.pc | activation.opMask()); \
|
||||
JS_END_MACRO
|
||||
|
||||
|
|
@ -1727,12 +1726,6 @@ Interpret(JSContext* cx, RunState& state)
|
|||
activation.enableInterruptsUnconditionally(); \
|
||||
JS_END_MACRO
|
||||
|
||||
#define SANITY_CHECKS() \
|
||||
JS_BEGIN_MACRO \
|
||||
js::gc::MaybeVerifyBarriers(cx); \
|
||||
JS_END_MACRO
|
||||
|
||||
gc::MaybeVerifyBarriers(cx, true);
|
||||
MOZ_ASSERT(!cx->zone()->types.activeAnalysis);
|
||||
|
||||
InterpreterFrame* entryFrame = state.pushInterpreterFrame(cx);
|
||||
|
|
@ -1863,7 +1856,6 @@ CASE(EnableInterruptsPseudoOpcode)
|
|||
activation.clearInterruptsMask();
|
||||
|
||||
/* Commence executing the actual opcode. */
|
||||
SANITY_CHECKS();
|
||||
DISPATCH_TO(op);
|
||||
}
|
||||
|
||||
|
|
@ -4184,8 +4176,6 @@ DEFAULT()
|
|||
REGS.fp()->epilogue(cx, REGS.pc);
|
||||
}
|
||||
|
||||
gc::MaybeVerifyBarriers(cx, true);
|
||||
|
||||
TraceLogStopEvent(logger, TraceLogger_Engine);
|
||||
TraceLogStopEvent(logger, scriptEvent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue