Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index c8e1c96d9689da2ee3543154cd30c3c754c913b9..6612242a037360918434ff4af31e9f931f4f4aa0 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -50,7 +50,7 @@ bool BreakLocationIterator::IsDebugBreakAtReturn() { |
void BreakLocationIterator::SetDebugBreakAtReturn() { |
ASSERT(Assembler::kJSReturnSequenceLength >= Assembler::kCallSequenceLength); |
rinfo()->PatchCodeWithCall( |
- Isolate::Current()->debug()->debug_break_return()->entry(), |
+ debug_info_->GetIsolate()->debug()->debug_break_return()->entry(), |
Assembler::kJSReturnSequenceLength - Assembler::kCallSequenceLength); |
} |
@@ -80,7 +80,7 @@ bool BreakLocationIterator::IsDebugBreakAtSlot() { |
void BreakLocationIterator::SetDebugBreakAtSlot() { |
ASSERT(IsDebugBreakSlot()); |
rinfo()->PatchCodeWithCall( |
- Isolate::Current()->debug()->debug_break_slot()->entry(), |
+ debug_info_->GetIsolate()->debug()->debug_break_slot()->entry(), |
Assembler::kDebugBreakSlotLength - Assembler::kCallSequenceLength); |
} |