Fix incorrect GET_JUMP_OFFSET, bug 690650. r=dvander

This commit is contained in:
Brian Hackett 2011-10-06 11:36:58 -07:00
parent 8da21cefef
commit a869120703

View File

@ -1562,7 +1562,7 @@ js_InternalInterpret(void *returnData, void *returnType, void *returnReg, js::VM
JS_NOT_REACHED("Bad branch op");
}
if (takeBranch)
f.regs.pc = nextpc + GET_JUMP_OFFSET(nextpc);
f.regs.pc = nextpc + analyze::GetJumpOffset(nextpc, nextpc);
else
f.regs.pc = nextpc + analyze::GetBytecodeLength(nextpc);
break;