| Index: src/debug/mips/debug-mips.cc
|
| diff --git a/src/debug/mips/debug-mips.cc b/src/debug/mips/debug-mips.cc
|
| index 30bdcac1b6f1c0d0b09fc7a56d17ce620cbf5606..c1d24c447effb8a81a52cacc877af255de8a089c 100644
|
| --- a/src/debug/mips/debug-mips.cc
|
| +++ b/src/debug/mips/debug-mips.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:
|
| // nop(DEBUG_BREAK_NOP) - nop(1) is sll(zero_reg, zero_reg, 1)
|
| // nop(DEBUG_BREAK_NOP)
|
|
|