Index: src/debug/mips64/debug-mips64.cc |
diff --git a/src/debug/mips64/debug-mips64.cc b/src/debug/mips64/debug-mips64.cc |
index b1a4842f46aca8fb71889a3c7064d197d3f707c3..5c1bb3e963a8095e6b5e5aa39807bad2fcbf036c 100644 |
--- a/src/debug/mips64/debug-mips64.cc |
+++ b/src/debug/mips64/debug-mips64.cc |
@@ -111,16 +111,22 @@ |
} |
+void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { |
+ __ Ret(); |
+} |
+ |
+ |
void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
+ ExternalReference restarter_frame_function_slot = |
+ ExternalReference::debug_restarter_frame_function_pointer_address( |
+ masm->isolate()); |
+ __ li(at, Operand(restarter_frame_function_slot)); |
+ __ sw(zero_reg, MemOperand(at, 0)); |
+ |
// We do not know our frame height, but set sp based on fp. |
__ Dsubu(sp, fp, Operand(kPointerSize)); |
- __ Pop(a1); // Function. |
- |
- ParameterCount dummy(0); |
- __ FloodFunctionIfStepping(a1, no_reg, dummy, dummy); |
- |
- __ Pop(ra, fp); // Return address, Frame. |
+ __ Pop(ra, fp, a1); // Return address, Frame, Function. |
// Load context from the function. |
__ ld(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); |