Index: src/mips64/assembler-mips64-inl.h |
diff --git a/src/mips64/assembler-mips64-inl.h b/src/mips64/assembler-mips64-inl.h |
index 470394334d603792305f363a4b54df7cb7ca2027..e873e04e135b7cf0143a8e3e8e7e88fe6a9362de 100644 |
--- a/src/mips64/assembler-mips64-inl.h |
+++ b/src/mips64/assembler-mips64-inl.h |
@@ -341,23 +341,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); |
} |
} |