| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index f4c1fb35fe423efb8fc69a014f7f08e5952fcd20..bef5d2ddad7d70205c5623a6b43e372c5664b189 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -136,6 +136,7 @@ void ValueInliningContext::ReplaceCall(FlowGraph* caller_graph,
|
| } else if (num_exits == 1) {
|
| // For just one exit, replace the uses and remove the call from the graph.
|
| call->ReplaceUsesWith(ValueAt(0)->definition());
|
| + ValueAt(0)->RemoveFromUseList();
|
| call->previous()->LinkTo(callee_entry->next());
|
| LastInstructionAt(0)->LinkTo(call->next());
|
| // In case of control flow, locally update the predecessors, phis and
|
|
|