Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 54c291d412e2130f42b17a1676d234cf577d3f45..93cecf52b68cd5c249975797800bf4ab45acd442 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -215,7 +215,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); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
visitor->VisitCodeTarget(this); |
} else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |
@@ -241,7 +241,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); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
StaticVisitor::VisitCodeTarget(heap, this); |
} else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |