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