Bug 910782 - SpiderMonkey: Inline check_backedge, which is only used in one place. r=luke

This commit is contained in:
Dan Gohman 2013-09-04 20:06:07 -07:00
parent 6958d3c057
commit fe971c102b

View File

@ -1307,7 +1307,7 @@ Interpret(JSContext *cx, RunState &state)
regs.pc += nlen; \
op = (JSOp) *regs.pc; \
if (nlen <= 0) \
goto check_backedge; \
CHECK_BRANCH(); \
DO_OP(); \
JS_END_MACRO
@ -1554,12 +1554,6 @@ END_CASE(JSOP_LOOPHEAD)
BEGIN_CASE(JSOP_LABEL)
END_CASE(JSOP_LABEL)
check_backedge:
{
CHECK_BRANCH();
DO_OP();
}
BEGIN_CASE(JSOP_LOOPENTRY)
#ifdef JS_ION