Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index ed277e5da2dea96cdff18f3917a5a02e03c3b77d..446aa3e2de7b684747155f01dea41e6ec6882132 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -214,7 +214,7 @@ bool RelocInfo::IsPatchedDebugBreakSlotSequence() { |
void RelocInfo::Visit(ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
- visitor->VisitEmbeddedPointer(host(), target_object_address()); |
+ visitor->VisitEmbeddedPointer(this); |
CPU::FlushICache(pc_, sizeof(Address)); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
visitor->VisitCodeTarget(this); |
@@ -242,7 +242,7 @@ template<typename StaticVisitor> |
void RelocInfo::Visit(Heap* heap) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
- StaticVisitor::VisitEmbeddedPointer(heap, host(), target_object_address()); |
+ StaticVisitor::VisitEmbeddedPointer(heap, this); |
CPU::FlushICache(pc_, sizeof(Address)); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
StaticVisitor::VisitCodeTarget(heap, this); |