Index: runtime/vm/raw_object_snapshot.cc |
=================================================================== |
--- runtime/vm/raw_object_snapshot.cc (revision 32455) |
+++ runtime/vm/raw_object_snapshot.cc (working copy) |
@@ -449,6 +449,8 @@ |
reader->AddBackRef(object_id, &type_arguments, kIsDeserialized); |
// Now set all the object fields. |
+ *reader->ArrayHandle() ^= reader->ReadObjectImpl(); |
+ type_arguments.set_instantiations(*reader->ArrayHandle()); |
for (intptr_t i = 0; i < len; i++) { |
*reader->TypeHandle() ^= reader->ReadObjectImpl(); |
type_arguments.SetTypeAt(i, *reader->TypeHandle()); |
@@ -493,6 +495,9 @@ |
// Write out the length field. |
writer->Write<RawObject*>(ptr()->length_); |
+ // Write out the instantiations field. |
+ writer->WriteObjectImpl(ptr()->instantiations_); |
+ |
// Write out the individual types. |
intptr_t len = Smi::Value(ptr()->length_); |
for (intptr_t i = 0; i < len; i++) { |