Index: src/debug/x87/debug-x87.cc |
diff --git a/src/debug/x87/debug-x87.cc b/src/debug/x87/debug-x87.cc |
index 2718dcb624243c0a1f174f092206f31efe151ae0..8c04e02b89c0f4faf66fed9e44b3b4d81321fe70 100644 |
--- a/src/debug/x87/debug-x87.cc |
+++ b/src/debug/x87/debug-x87.cc |
@@ -105,23 +105,16 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm, |
} |
-void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { |
- masm->ret(0); |
-} |
- |
- |
void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
- ExternalReference restarter_frame_function_slot = |
- ExternalReference::debug_restarter_frame_function_pointer_address( |
- masm->isolate()); |
- __ mov(Operand::StaticVariable(restarter_frame_function_slot), Immediate(0)); |
- |
// We do not know our frame height, but set esp based on ebp. |
__ lea(esp, Operand(ebp, -1 * kPointerSize)); |
__ pop(edi); // Function. |
__ pop(ebp); |
+ ParameterCount dummy(0); |
+ __ FloodFunctionIfStepping(edi, no_reg, dummy, dummy); |
+ |
// Load context from the function. |
__ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); |