| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 21486)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -224,6 +224,10 @@
|
| // A canonicalization pass to remove e.g. smi checks on smi constants.
|
| optimizer.Canonicalize();
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
| + // Canonicalization introduced more opportunities for constant
|
| + // propagation.
|
| + ConstantPropagator::Optimize(flow_graph);
|
| + DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
| }
|
|
|
| // Propagate types and eliminate even more type tests.
|
|
|