Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 459a5a90c3339aa6b1160dc1f879e929556074b9..65ff378b31f29d5896fe86549f82dd8dc69ce74c 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10317,7 +10317,8 @@ void ObjectVisitor::VisitDebugTarget(RelocInfo* rinfo) { |
void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { |
ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
- VisitPointer(rinfo->target_object_address()); |
+ Object* p = rinfo->target_object(); |
+ VisitPointer(&p); |
} |