Bug 782782 - Move js::MaybeVerifyBarriers on Windows (r=bhackett)

This commit is contained in:
Bill McCloskey 2012-08-15 10:43:49 -07:00
parent 21788b34fd
commit 71681479b2

View File

@ -1327,12 +1327,12 @@ js::Interpret(JSContext *cx, StackFrame *entryFrame, InterpMode interpMode)
JS_ASSERT(js_CodeSpec[op].length == 1);
len = 1;
advance_pc:
js::gc::MaybeVerifyBarriers(cx);
regs.pc += len;
op = (JSOp) *regs.pc;
do_op:
CHECK_PCCOUNT_INTERRUPTS();
js::gc::MaybeVerifyBarriers(cx);
switchOp = int(op) | switchMask;
do_switch:
switch (switchOp) {