Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index 9ce247ad3829f088a751916572a76cebe10d9710..30a068a466b5a93d6e3c7c9041ebe4c410718718 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -321,23 +321,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 (IsRuntimeEntry(mode)) { |
- visitor->VisitRuntimeEntry(this); |
+ visitor->VisitRuntimeEntry(host(), this); |
} |
} |