Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: runtime/vm/constant_propagator.cc

Issue 961443005: Fix Range::Mul for fully non-positive ranges. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/flow_graph_range_analysis.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
}
« no previous file with comments | « no previous file | runtime/vm/flow_graph_range_analysis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698