| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 2efb71d8da3d5f72d0f001f51c7b567746091afd..23dd34346fb29e93aadbf05952bf3077f89d8ffa 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -179,9 +179,6 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
|
| FlowGraphOptimizer optimizer(flow_graph);
|
| optimizer.ApplyICData();
|
|
|
| - // Compute the use lists.
|
| - flow_graph->ComputeUseLists();
|
| -
|
| // Inlining (mutates the flow graph)
|
| if (FLAG_use_inlining) {
|
| TimerScope timer(FLAG_compiler_stats,
|
| @@ -214,14 +211,9 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
|
| // Use propagated class-ids to optimize further.
|
| optimizer.ApplyClassIds();
|
|
|
| - // Recompute use lists after applying class ids.
|
| - flow_graph->ComputeUseLists();
|
| -
|
| // Do optimizations that depend on the propagated type information.
|
| optimizer.Canonicalize();
|
|
|
| - flow_graph->ComputeUseLists();
|
| -
|
| if (FLAG_constant_propagation) {
|
| ConstantPropagator::Optimize(flow_graph);
|
| // A canonicalization pass to remove e.g. smi checks on smi constants.
|
| @@ -231,9 +223,7 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
|
| // Unbox doubles. Performed after constant propagation to minimize
|
| // interference from phis merging double values and tagged
|
| // values comming from dead paths.
|
| - flow_graph->ComputeUseLists();
|
| optimizer.SelectRepresentations();
|
| - flow_graph->ComputeUseLists();
|
|
|
| if (FLAG_common_subexpression_elimination) {
|
| if (DominatorBasedCSE::Optimize(flow_graph)) {
|
|
|