| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index bf063f3ffe159961bc70fc0b7978785fd1a9ef6b..565842edef83d29ad4772cb481d142fb628c3988 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -4411,6 +4411,7 @@ typedef UnorderedHashSet <CanonicalInstanceTraits> CanonicalInstancesSet;
|
| RawInstance* Class::LookupCanonicalInstance(Zone* zone,
|
| const Instance& value) const {
|
| ASSERT(this->raw() == value.clazz());
|
| + ASSERT(is_finalized());
|
| Instance& canonical_value = Instance::Handle(zone);
|
| if (this->constants() != Object::empty_array().raw()) {
|
| CanonicalInstancesSet constants(zone, this->constants());
|
|
|