Chromium Code Reviews| Index: runtime/vm/flow_graph_optimizer.h |
| =================================================================== |
| --- runtime/vm/flow_graph_optimizer.h (revision 10752) |
| +++ runtime/vm/flow_graph_optimizer.h (working copy) |
| @@ -75,9 +75,11 @@ |
| class FlowGraphTypePropagator : public FlowGraphVisitor { |
| public: |
| FlowGraphTypePropagator(const ParsedFunction& parsed_function, |
| - const GrowableArray<BlockEntryInstr*>& blocks) |
| + const GrowableArray<BlockEntryInstr*>& blocks, |
| + bool is_ssa) |
| : FlowGraphVisitor(blocks), |
| parsed_function_(parsed_function), |
| + is_ssa_(is_ssa), |
| still_changing_(false) { } |
| virtual ~FlowGraphTypePropagator() { } |
| @@ -87,8 +89,8 @@ |
| virtual void VisitAssertAssignable(AssertAssignableComp* comp, |
| BindInstr* instr); |
| - virtual void VisitAssertBoolean(AssertBooleanComp* comp, |
| - BindInstr* instr); |
| + virtual void VisitAssertBoolean(AssertBooleanComp* comp, BindInstr* instr); |
| + virtual void VisitInstanceOf(InstanceOfComp* comp, BindInstr* instr); |
| virtual void VisitGraphEntry(GraphEntryInstr* graph_entry); |
| virtual void VisitJoinEntry(JoinEntryInstr* join_entry); |
| @@ -98,6 +100,7 @@ |
| private: |
| const ParsedFunction& parsed_function_; |
| + bool is_ssa_; // TODO(regis): Remove once virtual frame backend is removed. |
|
srdjan
2012/08/15 17:49:56
const
regis
2012/08/15 22:49:18
Done.
|
| bool still_changing_; |
| DISALLOW_COPY_AND_ASSIGN(FlowGraphTypePropagator); |
| }; |