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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 28633003: Fix bugs in load elimination and type propagation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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
Index: runtime/vm/flow_graph_type_propagator.cc
===================================================================
--- runtime/vm/flow_graph_type_propagator.cc (revision 28924)
+++ runtime/vm/flow_graph_type_propagator.cc (working copy)
@@ -18,6 +18,13 @@
DECLARE_FLAG(bool, use_cha);
+void FlowGraphTypePropagator::Propagate(FlowGraph* flow_graph) {
+ FlowGraphTypePropagator propagator(flow_graph);
+ propagator.Propagate();
+ DEBUG_ASSERT(flow_graph->VerifyUseLists());
Kevin Millikin (Google) 2013/10/21 13:05:23 Except for a couple instances during inlining, all
Florian Schneider 2013/10/21 13:30:04 Done.
+}
+
+
FlowGraphTypePropagator::FlowGraphTypePropagator(FlowGraph* flow_graph)
: FlowGraphVisitor(flow_graph->reverse_postorder()),
flow_graph_(flow_graph),

Powered by Google App Engine
This is Rietveld 408576698