Index: src/debug/ia32/debug-ia32.cc |
diff --git a/src/debug/ia32/debug-ia32.cc b/src/debug/ia32/debug-ia32.cc |
index e1d0a143a3cba5446c9206766e6ba94bcee8830e..d489a014413d3d7e33391ae476822629085c4378 100644 |
--- a/src/debug/ia32/debug-ia32.cc |
+++ b/src/debug/ia32/debug-ia32.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)); |