Index: src/debug/arm64/debug-arm64.cc |
diff --git a/src/debug/arm64/debug-arm64.cc b/src/debug/arm64/debug-arm64.cc |
index 73e101be9a85234d673e205ce4558a30d4874b64..ae6bebf7be145945196bf6a3795ac9be33fea061 100644 |
--- a/src/debug/arm64/debug-arm64.cc |
+++ b/src/debug/arm64/debug-arm64.cc |
@@ -39,7 +39,7 @@ void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode) { |
void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { |
- PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), |
+ PatchingAssembler patcher(isolate, pc, |
Assembler::kDebugBreakSlotInstructions); |
EmitDebugBreakSlot(&patcher); |
} |
@@ -48,7 +48,7 @@ void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { |
void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, |
Handle<Code> code) { |
DCHECK(code->is_debug_stub()); |
- PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), |
+ PatchingAssembler patcher(isolate, pc, |
Assembler::kDebugBreakSlotInstructions); |
// Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug |
// break slot code from |