Index: src/debug/mips64/debug-mips64.cc |
diff --git a/src/debug/mips64/debug-mips64.cc b/src/debug/mips64/debug-mips64.cc |
index 0646a249f7a92e2a512c91fd87cb7c800b4f092e..1288d43b008b02d10a5921150c63c338f3258796 100644 |
--- a/src/debug/mips64/debug-mips64.cc |
+++ b/src/debug/mips64/debug-mips64.cc |
@@ -116,9 +116,10 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm, |
void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
// We do not know our frame height, but set sp based on fp. |
- __ Dsubu(sp, fp, Operand(kPointerSize)); |
+ __ ld(a1, MemOperand(fp, FrameDropperFrameConstants::kFunctionOffset)); |
- __ Pop(ra, fp, a1); // Return address, Frame, Function. |
+ // Pop return address and frame. |
+ __ LeaveFrame(StackFrame::INTERNAL); |
ParameterCount dummy(0); |
__ FloodFunctionIfStepping(a1, no_reg, dummy, dummy); |