Index: src/debug/arm/debug-arm.cc |
diff --git a/src/debug/arm/debug-arm.cc b/src/debug/arm/debug-arm.cc |
index 49ddd7687f97e2c87776d09b32ca71c9fa65f1cf..da39268a8aca5ce74439d0465693cde865d94280 100644 |
--- a/src/debug/arm/debug-arm.cc |
+++ b/src/debug/arm/debug-arm.cc |
@@ -114,13 +114,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()); |
+ __ mov(ip, Operand(restarter_frame_function_slot)); |
+ __ mov(r1, Operand::Zero()); |
+ __ str(r1, MemOperand(ip, 0)); |
+ |
// Load the function pointer off of our current stack frame. |
__ ldr(r1, MemOperand(fp, |
StandardFrameConstants::kConstantPoolOffset - kPointerSize)); |
- |
- ParameterCount dummy(0); |
- __ FloodFunctionIfStepping(r1, no_reg, dummy, dummy); |
// Pop return address, frame and constant pool pointer (if |
// FLAG_enable_embedded_constant_pool). |