Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index 215c0efd886a9e782036dcafd5d3001e0ad76e5d..48501980cf16a7731966e7183b737e1edd2e0681 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -357,23 +357,23 @@ template <typename ObjectVisitor> |
void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
- visitor->VisitEmbeddedPointer(this); |
+ visitor->VisitEmbeddedPointer(host(), this); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
- visitor->VisitCodeTarget(this); |
+ visitor->VisitCodeTarget(host(), this); |
} else if (mode == RelocInfo::CELL) { |
- visitor->VisitCell(this); |
+ visitor->VisitCellPointer(host(), this); |
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) { |
- visitor->VisitExternalReference(this); |
+ visitor->VisitExternalReference(host(), this); |
} else if (mode == RelocInfo::INTERNAL_REFERENCE || |
mode == RelocInfo::INTERNAL_REFERENCE_ENCODED) { |
- visitor->VisitInternalReference(this); |
+ visitor->VisitInternalReference(host(), this); |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |
- visitor->VisitCodeAgeSequence(this); |
+ visitor->VisitCodeAgeSequence(host(), this); |
} else if (RelocInfo::IsDebugBreakSlot(mode) && |
IsPatchedDebugBreakSlotSequence()) { |
- visitor->VisitDebugTarget(this); |
+ visitor->VisitDebugTarget(host(), this); |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |
- visitor->VisitRuntimeEntry(this); |
+ visitor->VisitRuntimeEntry(host(), this); |
} |
} |