Backed out changeset 8837ebfb3045 - wrong bug number.

This commit is contained in:
Kannan Vijayan 2012-07-16 15:33:51 -04:00
parent 959d8227a4
commit 45a006939c

View File

@ -2455,8 +2455,6 @@ BEGIN_CASE(JSOP_FUNCALL)
InitialFrameFlags initial = construct ? INITIAL_CONSTRUCT : INITIAL_NONE;
bool newType = cx->typeInferenceEnabled() && UseNewType(cx, script, regs.pc);
JSScript *newScript = fun->script();
if (newScript->compileAndGo && newScript->hasClearedGlobal()) {
@ -2470,6 +2468,8 @@ BEGIN_CASE(JSOP_FUNCALL)
SET_SCRIPT(regs.fp()->script());
RESET_USE_METHODJIT();
bool newType = cx->typeInferenceEnabled() && UseNewType(cx, script, regs.pc);
#ifdef JS_METHODJIT
if (!newType) {
/* Try to ensure methods are method JIT'd. */