| Index: runtime/vm/flow_graph_inliner.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_inliner.cc (revision 38023)
|
| +++ runtime/vm/flow_graph_inliner.cc (working copy)
|
| @@ -1019,6 +1019,14 @@
|
| target ^= alloc->closure_function().raw();
|
| ASSERT(target.signature_class() == alloc->cls().raw());
|
| }
|
| + ConstantInstr* constant =
|
| + call->ArgumentAt(0)->OriginalDefinition()->AsConstant();
|
| + if ((constant != NULL) &&
|
| + constant->value().IsInstance() &&
|
| + Instance::Cast(constant->value()).IsClosure()) {
|
| + target ^= Closure::function(Instance::Cast(constant->value()));
|
| + }
|
| +
|
| if (target.IsNull()) {
|
| TRACE_INLINING(OS::Print(" Bailout: non-closure operator\n"));
|
| continue;
|
|
|