[JAEGER] Don't call into JIT while recording.

This commit is contained in:
David Anderson 2010-06-10 23:42:35 -07:00
parent 3bbb12b82b
commit d6ac5397a1

View File

@ -2365,6 +2365,7 @@ BEGIN_CASE(JSOP_APPLY)
* :FIXME: try to method jit - take this out once we're more
* complete.
*/
if (!TRACE_RECORDER(cx)) {
JSObject *scope = newfp->scopeChainObj();
mjit::CompileStatus status = mjit::CanMethodJIT(cx, newscript, fun, scope);
if (status == mjit::Compile_Error)
@ -2375,6 +2376,7 @@ BEGIN_CASE(JSOP_APPLY)
interpReturnOK = true;
goto inline_return;
}
}
/* Load first op and dispatch it (safe since JSOP_STOP). */
op = (JSOp) *regs.pc;