Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index b75ddb382b1d1638e6ab8b89a7af137386e3277d..4aff0d3cb46603a3734845d3b7c61faab2438fb9 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -93,7 +93,8 @@ class VerifyMarkingVisitor: public ObjectVisitor { |
ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
if (!Code::IsWeakEmbeddedObject(rinfo->host()->kind(), |
rinfo->target_object())) { |
- VisitPointer(rinfo->target_object_address()); |
+ Object* p = rinfo->target_object(); |
+ VisitPointer(&p); |
} |
} |