[JAEGER] Fixed memory bug in call path.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user