| Index: runtime/vm/flow_graph_optimizer.h
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.h (revision 12311)
|
| +++ runtime/vm/flow_graph_optimizer.h (working copy)
|
| @@ -95,9 +95,10 @@
|
|
|
| class FlowGraphTypePropagator : public FlowGraphVisitor {
|
| public:
|
| - explicit FlowGraphTypePropagator(const FlowGraph& flow_graph)
|
| - : FlowGraphVisitor(flow_graph.reverse_postorder()),
|
| - parsed_function_(flow_graph.parsed_function()),
|
| + explicit FlowGraphTypePropagator(FlowGraph* flow_graph)
|
| + : FlowGraphVisitor(flow_graph->reverse_postorder()),
|
| + parsed_function_(flow_graph->parsed_function()),
|
| + flow_graph_(flow_graph),
|
| still_changing_(false) { }
|
| virtual ~FlowGraphTypePropagator() { }
|
|
|
| @@ -119,6 +120,7 @@
|
| virtual void VisitPushArgument(PushArgumentInstr* bind);
|
|
|
| const ParsedFunction& parsed_function_;
|
| + FlowGraph* flow_graph_;
|
| bool still_changing_;
|
| DISALLOW_COPY_AND_ASSIGN(FlowGraphTypePropagator);
|
| };
|
|
|