| Index: runtime/vm/flow_graph_type_propagator.cc
|
| diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
|
| index f22c50f2dd8a72a69d81374b73d30a75cbc2f372..6fcd8742810a6c0c34c74da5a31903bb2f6ad781 100644
|
| --- a/runtime/vm/flow_graph_type_propagator.cc
|
| +++ b/runtime/vm/flow_graph_type_propagator.cc
|
| @@ -1038,10 +1038,9 @@ CompileType LoadFieldInstr::ComputeType() const {
|
| }
|
|
|
| const AbstractType* abstract_type = NULL;
|
| - if (Isolate::Current()->flags().type_checks()) {
|
| - ASSERT(!type().HasResolvedTypeClass() ||
|
| - !Field::IsExternalizableCid(Class::Handle(
|
| - type().type_class()).id()));
|
| + if (Isolate::Current()->flags().type_checks() &&
|
| + type().HasResolvedTypeClass() &&
|
| + !Field::IsExternalizableCid(Class::Handle(type().type_class()).id())) {
|
| abstract_type = &type();
|
| }
|
|
|
|
|