| Index: runtime/vm/flow_graph_type_propagator.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_type_propagator.cc (revision 35546)
|
| +++ runtime/vm/flow_graph_type_propagator.cc (working copy)
|
| @@ -545,6 +545,13 @@
|
| if (type_ == NULL) {
|
| ASSERT(cid_ != kIllegalCid);
|
|
|
| + // VM internal Function objects don't have a compile-type. Return
|
| + // dynamic-type in this case.
|
| + if (cid_ == kFunctionCid) {
|
| + type_ = &Type::ZoneHandle(Type::DynamicType());
|
| + return type_;
|
| + }
|
| +
|
| const Class& type_class =
|
| Class::Handle(Isolate::Current()->class_table()->At(cid_));
|
|
|
|
|