[JAEGER] Fixed bug where constants weren't unsynced on push.

This commit is contained in:
David Anderson
2010-05-31 00:03:31 -07:00
parent 36d3a21971
commit 5f5f69cf57
2 changed files with 5 additions and 1 deletions

View File

@@ -288,12 +288,14 @@ mjit::Compiler::generateMethod()
BEGIN_CASE(JSOP_CALL)
{
JaegerSpew(JSpew_Insns, " --- SCRIPTED CALL --- \n");
frame.forgetEverything();
uint32 argc = GET_ARGC(PC);
prepareStubCall();
masm.move(Imm32(argc), Registers::ArgReg1);
dispatchCall(stubs::Call);
frame.popn(argc + 2);
frame.pushSynced();
JaegerSpew(JSpew_Insns, " --- END SCRIPTED CALL --- \n");
}
END_CASE(JSOP_CALL)