| Index: runtime/vm/clustered_snapshot.cc
|
| diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
|
| index 8ddbd397f94c85cf5edb02463140e5c8b4f6696e..2fb72751f9b717ddfa87b54d4de391e8344d2cb3 100644
|
| --- a/runtime/vm/clustered_snapshot.cc
|
| +++ b/runtime/vm/clustered_snapshot.cc
|
| @@ -112,6 +112,7 @@ class ClassSerializationCluster : public SerializationCluster {
|
| s->WriteRef(*p);
|
| }
|
| intptr_t class_id = cls->ptr()->id_;
|
| + ASSERT(class_id != kIllegalCid);
|
| s->WriteCid(class_id);
|
| s->Write<int32_t>(cls->ptr()->instance_size_in_words_);
|
| s->Write<int32_t>(cls->ptr()->next_field_offset_in_words_);
|
|
|