Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index 2ca00831cfb80f8cb1e014ac3937b769d2d7c9c1..2fa6804d1982c6e352dfc7707af608225d0e6a68 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -338,7 +338,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); |
@@ -351,12 +351,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)) { |