Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index f350ce5fda9488496f424a7ce6ec65e9ad35b87d..130fbee72e9469ea59f050f554f02dc9ec7759fd 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -1668,12 +1668,12 @@ void Serializer::ObjectSerializer::VisitPointers(Object** start, |
void Serializer::ObjectSerializer::VisitEmbeddedPointer(RelocInfo* rinfo) { |
- Object** current = rinfo->target_object_address(); |
+ Object* current = rinfo->target_object(); |
int skip = OutputRawData(rinfo->target_address_address(), |
kCanReturnSkipInsteadOfSkipping); |
HowToCode representation = rinfo->IsCodedSpecially() ? kFromCode : kPlain; |
- serializer_->SerializeObject(*current, representation, kStartOfObject, skip); |
+ serializer_->SerializeObject(current, representation, kStartOfObject, skip); |
bytes_processed_so_far_ += rinfo->target_address_size(); |
} |