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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 10829270: Continue work on type propagation in optimizing compiler (still WIP). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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_optimizer.h
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 10461)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -76,8 +76,9 @@
FlowGraphTypePropagator(const ParsedFunction& parsed_function,
const GrowableArray<BlockEntryInstr*>& blocks)
: FlowGraphVisitor(blocks),
- parsed_function_(parsed_function) { }
- virtual ~FlowGraphTypePropagator() {}
+ parsed_function_(parsed_function),
+ still_changing_(false) { }
+ virtual ~FlowGraphTypePropagator() { }
const ParsedFunction& parsed_function() const { return parsed_function_; }
@@ -86,10 +87,15 @@
virtual void VisitAssertAssignable(AssertAssignableComp* comp,
BindInstr* instr);
- virtual void VisitBind(BindInstr* instr);
+ virtual void VisitGraphEntry(GraphEntryInstr* graph_entry);
+ virtual void VisitJoinEntry(JoinEntryInstr* join_entry);
+ virtual void VisitBind(BindInstr* bind);
+ virtual void VisitPhi(PhiInstr* phi);
+ virtual void VisitParameter(ParameterInstr* param);
private:
const ParsedFunction& parsed_function_;
+ bool still_changing_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphTypePropagator);
};

Powered by Google App Engine
This is Rietveld 408576698