Index: src/debug/ppc/debug-ppc.cc |
diff --git a/src/debug/ppc/debug-ppc.cc b/src/debug/ppc/debug-ppc.cc |
index 2e6714c5404ea7c20f1b03203da8309c9d82316f..c5ddab8bc0b12200a9130ef0fee7fbde66599988 100644 |
--- a/src/debug/ppc/debug-ppc.cc |
+++ b/src/debug/ppc/debug-ppc.cc |
@@ -115,19 +115,7 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm, |
} |
-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)); |
- __ li(r4, Operand::Zero()); |
- __ StoreP(r4, MemOperand(ip, 0)); |
- |
// Load the function pointer off of our current stack frame. |
__ LoadP(r4, MemOperand(fp, StandardFrameConstants::kConstantPoolOffset - |
kPointerSize)); |
@@ -135,6 +123,9 @@ void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
// Pop return address and frame |
__ LeaveFrame(StackFrame::INTERNAL); |
+ ParameterCount dummy(0); |
+ __ FloodFunctionIfStepping(r4, no_reg, dummy, dummy); |
+ |
// Load context from the function. |
__ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset)); |