Chromium Code Reviews| Index: runtime/vm/compiler.cc |
| =================================================================== |
| --- runtime/vm/compiler.cc (revision 36052) |
| +++ runtime/vm/compiler.cc (working copy) |
| @@ -410,6 +410,9 @@ |
| // propagation. |
| ConstantPropagator::Optimize(flow_graph); |
| DEBUG_ASSERT(flow_graph->VerifyUseLists()); |
| + // Use propagated constants. |
| + optimizer.ApplyConstants(); |
| + DEBUG_ASSERT(flow_graph->VerifyUseLists()); |
| } |
| // Propagate types and eliminate even more type tests. |