mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix incorrect GET_JUMP_OFFSET, bug 690650. r=dvander
This commit is contained in:
parent
8da21cefef
commit
a869120703
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user