| Index: runtime/vm/flow_graph.h
|
| ===================================================================
|
| --- runtime/vm/flow_graph.h (revision 13077)
|
| +++ runtime/vm/flow_graph.h (working copy)
|
| @@ -40,7 +40,9 @@
|
| // Class to incapsulate the construction and manipulation of the flow graph.
|
| class FlowGraph : public ZoneAllocated {
|
| public:
|
| - FlowGraph(const FlowGraphBuilder& builder, GraphEntryInstr* graph_entry);
|
| + FlowGraph(const FlowGraphBuilder& builder,
|
| + GraphEntryInstr* graph_entry,
|
| + intptr_t max_block_id);
|
|
|
| // Function properties.
|
| const ParsedFunction& parsed_function() const {
|
| @@ -87,6 +89,10 @@
|
| return current_ssa_temp_index();
|
| }
|
|
|
| + intptr_t max_block_id() const {
|
| + return max_block_id_;
|
| + }
|
| +
|
| GraphEntryInstr* graph_entry() const {
|
| return graph_entry_;
|
| }
|
| @@ -96,6 +102,8 @@
|
|
|
| intptr_t alloc_ssa_temp_index() { return current_ssa_temp_index_++; }
|
|
|
| + intptr_t InstructionCount() const;
|
| +
|
| // Operations on the flow graph.
|
| void ComputeSSA(intptr_t next_virtual_register_number);
|
| void ComputeUseLists();
|
| @@ -148,6 +156,7 @@
|
| GrowableArray<BitVector*> assigned_vars_;
|
|
|
| intptr_t current_ssa_temp_index_;
|
| + intptr_t max_block_id_;
|
|
|
| // Flow graph fields.
|
| const ParsedFunction& parsed_function_;
|
|
|