Index: src/debug/arm/debug-arm.cc |
diff --git a/src/debug/arm/debug-arm.cc b/src/debug/arm/debug-arm.cc |
index 7f1542e18308e193fb7dadd09047159199c4c00f..da39268a8aca5ce74439d0465693cde865d94280 100644 |
--- a/src/debug/arm/debug-arm.cc |
+++ b/src/debug/arm/debug-arm.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 |
// mov r2, r2 |
// mov r2, r2 |