Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index f9f1dc920d6b923b9ce125557a433c7e9e6b7349..d83e02522a33ec7e7880077c0077bbecd51bfaf7 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -248,23 +248,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 (IsRuntimeEntry(mode)) { |
- visitor->VisitRuntimeEntry(this); |
+ visitor->VisitRuntimeEntry(host(), this); |
} |
} |