| Index: src/debug/arm64/debug-arm64.cc
|
| diff --git a/src/debug/arm64/debug-arm64.cc b/src/debug/arm64/debug-arm64.cc
|
| index 7272fe7bcfa134bd5382df0db688c7e7a9e7e994..2600fca8186855f44d43dbc0d624a922dc358f98 100644
|
| --- a/src/debug/arm64/debug-arm64.cc
|
| +++ b/src/debug/arm64/debug-arm64.cc
|
| @@ -35,16 +35,17 @@ void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode,
|
| }
|
|
|
|
|
| -void DebugCodegen::ClearDebugBreakSlot(Address pc) {
|
| - PatchingAssembler patcher(reinterpret_cast<Instruction*>(pc),
|
| +void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) {
|
| + PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
|
| Assembler::kDebugBreakSlotInstructions);
|
| EmitDebugBreakSlot(&patcher);
|
| }
|
|
|
|
|
| -void DebugCodegen::PatchDebugBreakSlot(Address pc, Handle<Code> code) {
|
| +void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc,
|
| + Handle<Code> code) {
|
| DCHECK_EQ(Code::BUILTIN, code->kind());
|
| - PatchingAssembler patcher(reinterpret_cast<Instruction*>(pc),
|
| + PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
|
| Assembler::kDebugBreakSlotInstructions);
|
| // Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug
|
| // break slot code from
|
|
|