| Index: runtime/vm/raw_object_snapshot.cc
|
| ===================================================================
|
| --- runtime/vm/raw_object_snapshot.cc (revision 2282)
|
| +++ runtime/vm/raw_object_snapshot.cc (working copy)
|
| @@ -211,6 +211,7 @@
|
|
|
| // Set all non object fields.
|
| type_parameter.set_index(reader->Read<intptr_t>());
|
| + type_parameter.set_type_state(reader->Read<int8_t>());
|
|
|
| // Set all the object fields.
|
| // TODO(5411462): Need to assert No GC can happen here, even though
|
| @@ -237,7 +238,9 @@
|
| // Write out the class information.
|
| writer->WriteObjectHeader(kObjectId, Object::kTypeParameterClass);
|
|
|
| + // Write out all the non object pointer fields.
|
| writer->Write<intptr_t>(ptr()->index_);
|
| + writer->Write<int8_t>(ptr()->type_state_);
|
|
|
| // Write out all the object pointer fields.
|
| visitor.VisitPointers(from(), to());
|
|
|