Fix more warnings-as-errors breakage for bug 609532.

This commit is contained in:
Nicholas Nethercote 2011-03-21 22:45:56 -07:00
parent a2f686bac4
commit ef4abde84f
2 changed files with 5 additions and 1 deletions

View File

@ -2898,7 +2898,9 @@ BEGIN_CASE(JSOP_STOP)
CHECK_INTERRUPT_HANDLER();
/* The JIT inlines ScriptEpilogue. */
#ifdef JS_METHODJIT
jit_return:
#endif
Value *newsp = regs.fp->actualArgs() - 1;
newsp[-1] = regs.fp->returnValue();
cx->stack().popInlineFrame(cx, regs.fp->prev(), newsp);

View File

@ -1481,6 +1481,7 @@ Unblacklist(JSScript *script, jsbytecode *pc)
}
}
#ifdef JS_METHODJIT
static bool
IsBlacklisted(jsbytecode* pc)
{
@ -1490,6 +1491,7 @@ IsBlacklisted(jsbytecode* pc)
return *(pc + JSOP_CALL_LENGTH) == JSOP_NOTRACE;
return false;
}
#endif
static void
Backoff(TraceMonitor *tm, jsbytecode* pc, Fragment* tree = NULL)
@ -8371,7 +8373,7 @@ TraceRecorder::tryToDemote(LOpcode op, jsdouble v0, jsdouble v1, LIns* s0, LIns*
LIns* d0 = w.demoteToInt32(s0);
LIns* d1 = w.demoteToInt32(s1);
jsdouble r;
jsdouble r = 0; /* init to shut GCC up */
VMSideExit* exit = NULL;
LIns* result;