Index: src/debug/mips64/debug-mips64.cc |
diff --git a/src/debug/mips64/debug-mips64.cc b/src/debug/mips64/debug-mips64.cc |
index 9b4d355d796da3ff9b60f10a6e77c00b0e5b3b28..5c1bb3e963a8095e6b5e5aa39807bad2fcbf036c 100644 |
--- a/src/debug/mips64/debug-mips64.cc |
+++ b/src/debug/mips64/debug-mips64.cc |
@@ -33,15 +33,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: |
// nop(DEBUG_BREAK_NOP) - nop(1) is sll(zero_reg, zero_reg, 1) |
// nop(DEBUG_BREAK_NOP) |