diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-06-26 23:40:37 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 17:45:38 +0100 |
commit | 77a482feace5aed4a61245d5894994a50517aa40 (patch) | |
tree | 034061dde92820c8a1474e8ec2415ef9816d75d6 /js/src/vm | |
parent | cec903c6b2fd64b076d4b3232ef8f6bf02eebead (diff) | |
download | UXP-77a482feace5aed4a61245d5894994a50517aa40.tar UXP-77a482feace5aed4a61245d5894994a50517aa40.tar.gz UXP-77a482feace5aed4a61245d5894994a50517aa40.tar.lz UXP-77a482feace5aed4a61245d5894994a50517aa40.tar.xz UXP-77a482feace5aed4a61245d5894994a50517aa40.zip |
Remove VerifyBarriers() and MaybeVerifyBarriers() stubs and callers.
Diffstat (limited to 'js/src/vm')
-rw-r--r-- | js/src/vm/Interpreter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/src/vm/Interpreter.cpp b/js/src/vm/Interpreter.cpp index 3ca379d01..fbf526ae5 100644 --- a/js/src/vm/Interpreter.cpp +++ b/js/src/vm/Interpreter.cpp @@ -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); |