diff --git a/js/src/jsinterp.cpp b/js/src/jsinterp.cpp index 65592f95cbac..8f701a9c14b4 100644 --- a/js/src/jsinterp.cpp +++ b/js/src/jsinterp.cpp @@ -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); diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index bbc5d1b63a83..8933324a4800 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -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;