mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Compute PC for interpreted frames which failed to compile, bug 641225.
This commit is contained in:
parent
7402e9d136
commit
08bb521026
@ -336,6 +336,9 @@ stubs::CompileFunction(VMFrame &f, uint32 nactual)
|
||||
if (status == Compile_Okay)
|
||||
return script->getJIT(fp->isConstructing())->invokeEntry;
|
||||
|
||||
/* Force computation of the previous PC, as Interpret will clear it. */
|
||||
fp->prev()->pc(cx, fp);
|
||||
|
||||
/* Function did not compile... interpret it. */
|
||||
JSBool ok = Interpret(cx, fp);
|
||||
InlineReturn(f);
|
||||
|
Loading…
Reference in New Issue
Block a user