| Index: vm/raw_object_snapshot.cc
|
| ===================================================================
|
| --- vm/raw_object_snapshot.cc (revision 4282)
|
| +++ vm/raw_object_snapshot.cc (working copy)
|
| @@ -771,6 +771,9 @@
|
| // Set the object tags.
|
| prefix.set_tags(tags);
|
|
|
| + // Set all non object fields.
|
| + prefix.raw_ptr()->num_libs_ = reader->ReadIntptrValue();
|
| +
|
| // Set all the object fields.
|
| // TODO(5411462): Need to assert No GC can happen here, even though
|
| // allocations may happen.
|
| @@ -795,6 +798,9 @@
|
| // Write out the class and tags information.
|
| writer->WriteObjectHeader(Object::kLibraryPrefixClass, ptr()->tags_);
|
|
|
| + // Write out all non object fields.
|
| + writer->WriteIntptrValue(ptr()->num_libs_);
|
| +
|
| // Write out all the object pointer fields.
|
| SnapshotWriterVisitor visitor(writer);
|
| visitor.VisitPointers(from(), to());
|
|
|