[JAEGER] Fixed memory bug in call path.

This commit is contained in:
David Anderson
2010-06-24 16:32:15 -07:00
parent dde9c2bc63
commit 0613b234b5
4 changed files with 1 additions and 36 deletions

View File

@@ -1457,15 +1457,6 @@ mjit::Compiler::emitReturn()
#endif
stubcc.masm.ret();
/* Debug hook - urgh. */
Jump debugHook = masm.branchPtr(Assembler::NotEqual,
Address(JSFrameReg, offsetof(JSStackFrame, hookData)),
ImmPtr(0));
stubcc.linkExit(debugHook);
stubcc.leave();
stubcc.call(stubs::DebugHook);
stubcc.rejoin(0);
/* Restore display. */
if (script->staticLevel < JS_DISPLAY_SIZE) {
RegisterID t1 = frame.allocReg();