Index: src/debug/ia32/debug-ia32.cc |
diff --git a/src/debug/ia32/debug-ia32.cc b/src/debug/ia32/debug-ia32.cc |
index fb8d495af8315de93794459a2718230aef228dd0..ef01dfe2a3d5312ac51adca90a29b04872d93302 100644 |
--- a/src/debug/ia32/debug-ia32.cc |
+++ b/src/debug/ia32/debug-ia32.cc |
@@ -31,16 +31,17 @@ void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode, |
} |
-void DebugCodegen::ClearDebugBreakSlot(Address pc) { |
- CodePatcher patcher(pc, Assembler::kDebugBreakSlotLength); |
+void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { |
+ CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); |
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()); |
static const int kSize = Assembler::kDebugBreakSlotLength; |
- CodePatcher patcher(pc, kSize); |
+ CodePatcher patcher(isolate, pc, kSize); |
// Add a label for checking the size of the code used for returning. |
Label check_codesize; |