Chromium Code Reviews| Index: runtime/vm/compiler.cc |
| =================================================================== |
| --- runtime/vm/compiler.cc (revision 27294) |
| +++ runtime/vm/compiler.cc (working copy) |
| @@ -456,6 +456,8 @@ |
| // Constant propagation can use information from range analysis to |
| // find unreachable branch targets. |
| ConstantPropagator::OptimizeBranches(flow_graph); |
| + // Eliminate branches that have the same true- and false-target. |
| + ConstantPropagator::RemoveRedundantBranches(flow_graph); |
|
Kevin Millikin (Google)
2013/09/27 11:03:43
Since Optimize and RemoveRedundant go together, I'
Florian Schneider
2013/09/30 12:19:23
Done.
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists()); |
| } |