| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 9c2822a0b67e04a98206cc8fa9cf470f112b7fa2..24d217ab29d7437955765a11ed0cb546692dc720 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -453,6 +453,10 @@ static bool CompileParsedFunctionHelper(ParsedFunction* parsed_function,
|
| // making some phis smi.
|
| optimizer.InferIntRanges();
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
| +
|
| + // Attempt to perform optimizations that depend on range analysis.
|
| + optimizer.TryRangeDerivedOptimizations();
|
| + DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
| }
|
|
|
| if (FLAG_constant_propagation) {
|
|
|