| Index: runtime/vm/constant_propagator.cc
|
| diff --git a/runtime/vm/constant_propagator.cc b/runtime/vm/constant_propagator.cc
|
| index 08f80d8d7c2207101e54e4ac63dd0355bd85ca46..f0ef1c958a79bccb51761a56d0e2a27b8ed50b55 100644
|
| --- a/runtime/vm/constant_propagator.cc
|
| +++ b/runtime/vm/constant_propagator.cc
|
| @@ -1512,9 +1512,7 @@ void ConstantPropagator::EliminateRedundantBranches() {
|
|
|
| void ConstantPropagator::Transform() {
|
| if (FLAG_trace_constant_propagation) {
|
| - OS::Print("\n==== Before constant propagation ====\n");
|
| - FlowGraphPrinter printer(*graph_);
|
| - printer.PrintBlocks();
|
| + FlowGraphPrinter::PrintGraph("Before CP", graph_);
|
| }
|
|
|
| // We will recompute dominators, block ordering, block ids, block last
|
| @@ -1662,9 +1660,7 @@ void ConstantPropagator::Transform() {
|
| graph_->ComputeDominators(&dominance_frontier);
|
|
|
| if (FLAG_trace_constant_propagation) {
|
| - OS::Print("\n==== After constant propagation ====\n");
|
| - FlowGraphPrinter printer(*graph_);
|
| - printer.PrintBlocks();
|
| + FlowGraphPrinter::PrintGraph("After CP", graph_);
|
| }
|
| }
|
|
|
|
|