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