| Index: src/debug/x64/debug-x64.cc
|
| diff --git a/src/debug/x64/debug-x64.cc b/src/debug/x64/debug-x64.cc
|
| index 3b656787091ecd04d6437c81870a6e9fcec89033..2f017c8022b98cdb016355f1e0405222e0243a72 100644
|
| --- a/src/debug/x64/debug-x64.cc
|
| +++ b/src/debug/x64/debug-x64.cc
|
| @@ -32,16 +32,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);
|
| Label check_codesize;
|
| patcher.masm()->bind(&check_codesize);
|
| patcher.masm()->movp(kScratchRegister, reinterpret_cast<void*>(code->entry()),
|
|
|