[INFER] Rejoin after recompiling from a cached GETPROP, bug 643182.

This commit is contained in:
Brian Hackett 2011-03-20 10:27:02 -07:00
parent de3580deca
commit e5ca2b828f
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,7 @@
x = 123;
function f() {}
function g(o) {
y = x.p;
eval('o');
}
g(f);

View File

@ -3332,6 +3332,11 @@ mjit::Compiler::jsop_getprop_slow(JSAtom *atom, bool usePropCache)
}
frame.pop();
frame.pushSynced(JSVAL_TYPE_UNKNOWN);
if (recompiling) {
OOL_STUBCALL(usePropCache ? ic::GetProp : ic::GetPropNoCache);
stubcc.rejoin(Changes(1));
}
}
bool