Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index c4c4fd25906fd2a6b6578ed19c60606ce3e60399..0cbe533398588e952899ec42cdef0cc9c3b51c36 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -244,7 +244,7 @@ void RelocInfo::Visit(ObjectVisitor* visitor) { |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
Object** p = target_object_address(); |
Object* orig = *p; |
- visitor->VisitPointer(p); |
+ visitor->VisitEmbeddedPointer(host(), p); |
if (*p != orig) { |
set_target_object(*p); |
} |
@@ -273,7 +273,7 @@ template<typename StaticVisitor> |
void RelocInfo::Visit(Heap* heap) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
- StaticVisitor::VisitPointer(heap, target_object_address()); |
+ StaticVisitor::VisitEmbeddedPointer(heap, host(), target_object_address()); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
StaticVisitor::VisitCodeTarget(heap, this); |
} else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |