Index: src/debug/ppc/debug-ppc.cc |
diff --git a/src/debug/ppc/debug-ppc.cc b/src/debug/ppc/debug-ppc.cc |
index ed4a632475c5af444c5aeb33433b81ca822c87e3..5f3225fe77f77e7ffcec80581cd2b7b3a905d16f 100644 |
--- a/src/debug/ppc/debug-ppc.cc |
+++ b/src/debug/ppc/debug-ppc.cc |
@@ -34,15 +34,16 @@ void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode, |
} |
-void DebugCodegen::ClearDebugBreakSlot(Address pc) { |
- CodePatcher patcher(pc, Assembler::kDebugBreakSlotInstructions); |
+void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { |
+ CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); |
EmitDebugBreakSlot(patcher.masm()); |
} |
-void DebugCodegen::PatchDebugBreakSlot(Address pc, Handle<Code> code) { |
+void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, |
+ Handle<Code> code) { |
DCHECK_EQ(Code::BUILTIN, code->kind()); |
- CodePatcher patcher(pc, Assembler::kDebugBreakSlotInstructions); |
+ CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); |
// Patch the code changing the debug break slot code from |
// |
// ori r3, r3, 0 |