Index: src/debug/ia32/debug-ia32.cc |
diff --git a/src/debug/ia32/debug-ia32.cc b/src/debug/ia32/debug-ia32.cc |
index 949ec2351e76b3b3d89a5f18200f2517a2d15dc3..ef01dfe2a3d5312ac51adca90a29b04872d93302 100644 |
--- a/src/debug/ia32/debug-ia32.cc |
+++ b/src/debug/ia32/debug-ia32.cc |
@@ -106,15 +106,21 @@ |
} |
+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. |
- |
- ParameterCount dummy(0); |
- __ FloodFunctionIfStepping(edi, no_reg, dummy, dummy); |
- |
__ pop(ebp); |
// Load context from the function. |