Index: src/x64/debug-x64.cc |
=================================================================== |
--- src/x64/debug-x64.cc (revision 7267) |
+++ src/x64/debug-x64.cc (working copy) |
@@ -49,7 +49,8 @@ |
void BreakLocationIterator::SetDebugBreakAtReturn() { |
ASSERT(Assembler::kJSReturnSequenceLength >= |
Assembler::kCallInstructionLength); |
- rinfo()->PatchCodeWithCall(Debug::debug_break_return()->entry(), |
+ rinfo()->PatchCodeWithCall( |
+ Isolate::Current()->debug()->debug_break_return()->entry(), |
Assembler::kJSReturnSequenceLength - Assembler::kCallInstructionLength); |
} |
@@ -79,7 +80,7 @@ |
void BreakLocationIterator::SetDebugBreakAtSlot() { |
ASSERT(IsDebugBreakSlot()); |
rinfo()->PatchCodeWithCall( |
- Debug::debug_break_slot()->entry(), |
+ Isolate::Current()->debug()->debug_break_slot()->entry(), |
Assembler::kDebugBreakSlotLength - Assembler::kCallInstructionLength); |
} |