Index: src/serialize.cc |
=================================================================== |
--- src/serialize.cc (revision 11280) |
+++ src/serialize.cc (working copy) |
@@ -1444,6 +1444,8 @@ |
sink_->PutSection(space, "NewPageSpace"); |
} |
+ if (object_->IsNaN()) Assembler::QuietNaN(object_); |
+ |
// Serialize the map (first word of the object). |
serializer_->SerializeObject(object_->map(), kPlain, kStartOfObject); |