equal
deleted
inserted
replaced
164 |
164 |
165 int _num_successors; // Includes only normal control flow. |
165 int _num_successors; // Includes only normal control flow. |
166 int _all_successors; // Include exception paths also. |
166 int _all_successors; // Include exception paths also. |
167 Block** _successors; |
167 Block** _successors; |
168 |
168 |
169 // Use init_node/init_graph to initialize Blocks. |
|
170 // Block() : _live_locals((uintptr_t*)NULL,0) { ShouldNotReachHere(); } |
|
171 Block() : _live_locals() { ShouldNotReachHere(); } |
|
172 |
|
173 public: |
169 public: |
174 |
170 |
175 // Set up the block data structure itself. |
171 // Set up the block data structure itself. |
176 void init_node(Parse* outer, int po); |
172 Block(Parse* outer, int rpo); |
|
173 |
177 // Set up the block's relations to other blocks. |
174 // Set up the block's relations to other blocks. |
178 void init_graph(Parse* outer); |
175 void init_graph(Parse* outer); |
179 |
176 |
180 ciTypeFlow::Block* flow() const { return _flow; } |
177 ciTypeFlow::Block* flow() const { return _flow; } |
181 int pred_count() const { return _pred_count; } |
178 int pred_count() const { return _pred_count; } |