Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index bfe9bc8335a384d9403512179456828b30d7526d..a1d1e1b5670b57bc77a063c588748dd632dcb492 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -279,7 +279,7 @@ bool RelocInfo::IsPatchedDebugBreakSlotSequence() { |
} |
-void RelocInfo::Visit(ObjectVisitor* visitor) { |
+void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
visitor->VisitEmbeddedPointer(this); |
@@ -292,12 +292,11 @@ void RelocInfo::Visit(ObjectVisitor* visitor) { |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |
visitor->VisitCodeAgeSequence(this); |
#ifdef ENABLE_DEBUGGER_SUPPORT |
- // TODO(isolates): Get a cached isolate below. |
} else if (((RelocInfo::IsJSReturn(mode) && |
IsPatchedReturnSequence()) || |
(RelocInfo::IsDebugBreakSlot(mode) && |
IsPatchedDebugBreakSlotSequence())) && |
- Isolate::Current()->debug()->has_break_points()) { |
+ isolate->debug()->has_break_points()) { |
visitor->VisitDebugTarget(this); |
#endif |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |