mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Don't call into JIT while recording.
This commit is contained in:
parent
3bbb12b82b
commit
d6ac5397a1
@ -2365,6 +2365,7 @@ BEGIN_CASE(JSOP_APPLY)
|
|||||||
* :FIXME: try to method jit - take this out once we're more
|
* :FIXME: try to method jit - take this out once we're more
|
||||||
* complete.
|
* complete.
|
||||||
*/
|
*/
|
||||||
|
if (!TRACE_RECORDER(cx)) {
|
||||||
JSObject *scope = newfp->scopeChainObj();
|
JSObject *scope = newfp->scopeChainObj();
|
||||||
mjit::CompileStatus status = mjit::CanMethodJIT(cx, newscript, fun, scope);
|
mjit::CompileStatus status = mjit::CanMethodJIT(cx, newscript, fun, scope);
|
||||||
if (status == mjit::Compile_Error)
|
if (status == mjit::Compile_Error)
|
||||||
@ -2375,6 +2376,7 @@ BEGIN_CASE(JSOP_APPLY)
|
|||||||
interpReturnOK = true;
|
interpReturnOK = true;
|
||||||
goto inline_return;
|
goto inline_return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Load first op and dispatch it (safe since JSOP_STOP). */
|
/* Load first op and dispatch it (safe since JSOP_STOP). */
|
||||||
op = (JSOp) *regs.pc;
|
op = (JSOp) *regs.pc;
|
||||||
|
Loading…
Reference in New Issue
Block a user