[JAEGER] Don't optimize escaping variables (bug 566022).
This commit is contained in:
@@ -1299,6 +1299,10 @@ mjit::Compiler::generateMethod()
|
||||
break;
|
||||
END_CASE(JSOP_GLOBALINC)
|
||||
|
||||
BEGIN_CASE(JSOP_DEFUPVAR)
|
||||
frame.addEscaping(GET_SLOTNO(PC));
|
||||
END_CASE(JSOP_DEFUPVAR)
|
||||
|
||||
default:
|
||||
/* Sorry, this opcode isn't implemented yet. */
|
||||
#ifdef JS_METHODJIT_SPEW
|
||||
@@ -1560,7 +1564,7 @@ mjit::Compiler::inlineCallHelper(uint32 argc, bool callingNew)
|
||||
* We rely on the fact that syncAndKill() is not allowed to touch the
|
||||
* registers we've preserved.
|
||||
*/
|
||||
frame.forgetEverything();
|
||||
frame.syncForCall(argc + 2);
|
||||
|
||||
Label invoke;
|
||||
if (!typeKnown) {
|
||||
|
||||
Reference in New Issue
Block a user