Index: src/debug/mips/debug-mips.cc |
diff --git a/src/debug/mips/debug-mips.cc b/src/debug/mips/debug-mips.cc |
index c5c58d044b0cd522caf1d31e9a8b3e5ac6602015..4607c239eb2a74375229099d51e401b2a8c4a8f4 100644 |
--- a/src/debug/mips/debug-mips.cc |
+++ b/src/debug/mips/debug-mips.cc |
@@ -108,14 +108,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. |
__ Subu(sp, fp, Operand(kPointerSize)); |
__ Pop(ra, fp, a1); // Return address, Frame, Function. |
- |
- ParameterCount dummy(0); |
- __ FloodFunctionIfStepping(a1, no_reg, dummy, dummy); |
// Load context from the function. |
__ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); |