Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index f7c89175da75c2fb7916015a34adf9954b565eef..459a5a90c3339aa6b1160dc1f879e929556074b9 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10322,8 +10322,8 @@ void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { |
void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) { |
- Address* p = rinfo->target_reference_address(); |
- VisitExternalReference(p); |
+ Address p = rinfo->target_reference(); |
+ VisitExternalReference(&p); |
} |