Index: src/snapshot/serializer.cc |
diff --git a/src/snapshot/serializer.cc b/src/snapshot/serializer.cc |
index d99ca2ab306230e74fc980c662e129b9bccb510a..025283b7b33ee0a20bf1b9800d31d2804ac86db4 100644 |
--- a/src/snapshot/serializer.cc |
+++ b/src/snapshot/serializer.cc |
@@ -747,7 +747,7 @@ Address Serializer::ObjectSerializer::PrepareCode() { |
RelocInfo::ModeMask(RelocInfo::INTERNAL_REFERENCE_ENCODED); |
for (RelocIterator it(code, mode_mask); !it.done(); it.next()) { |
RelocInfo* rinfo = it.rinfo(); |
- rinfo->WipeOut(); |
+ rinfo->WipeOut(serializer_->isolate()); |
} |
// We need to wipe out the header fields *after* wiping out the |
// relocations, because some of these fields are needed for the latter. |