Follow-up to bug 579479: Fix --disable-tracejit --enable-methodjit compiles. irc-r=sstangl a=bustage

This commit is contained in:
Chris Jones 2010-10-01 16:09:21 -05:00
parent 52fc02d2d1
commit 332fe2d51e

View File

@ -4184,8 +4184,10 @@ mjit::Compiler::jumpAndTrace(Jump j, jsbytecode *target, Jump *slowOne, Jump *sl
{
#ifndef JS_TRACER
jumpInScript(j, target);
if (slow)
stubcc.jumpInScript(*slow, target);
if (slowOne)
stubcc.jumpInScript(*slowOne, target);
if (slowTwo)
stubcc.jumpInScript(*slowTwo, target);
#else
if (!addTraceHints || target >= PC || JSOp(*target) != JSOP_TRACE) {
jumpInScript(j, target);