| Index: runtime/vm/flow_graph_builder.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_builder.cc (revision 22613)
|
| +++ runtime/vm/flow_graph_builder.cc (working copy)
|
| @@ -293,9 +293,12 @@
|
| }
|
| }
|
|
|
| - // Neither call nor callee entry are in the graph at this point. Remove them
|
| - // from use lists.
|
| + // Neither call nor callee entry nor the graph entry (if present) are in the
|
| + // graph at this point. Remove them from use lists.
|
| callee_entry->UnuseAllInputs();
|
| + if (callee_entry->PredecessorCount() > 0) {
|
| + callee_entry->PredecessorAt(0)->AsGraphEntry()->UnuseAllInputs();
|
| + }
|
| call_->UnuseAllInputs();
|
| }
|
|
|
|
|