Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 7deaf23635643e406d15b588dcb54fdd32de5f2f..4a2e9a17e834f378b4ae967660f37c515fa2f197 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -521,23 +521,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); |
Assembler::FlushICache(isolate, pc_, sizeof(Address)); |
} 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) { |
- 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); |
} |
} |