mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8022284: Hide internal data structure in PhaseCFG
Hide private node to block mapping using public interface Reviewed-by: kvn, roland
This commit is contained in:
parent
7107241178
commit
bfe8385fa9
19 changed files with 327 additions and 280 deletions
|
@ -105,8 +105,8 @@ void PhaseCFG::Dominators( ) {
|
|||
|
||||
// Step 2:
|
||||
Node *whead = w->_block->head();
|
||||
for( uint j=1; j < whead->req(); j++ ) {
|
||||
Block *b = _bbs[whead->in(j)->_idx];
|
||||
for (uint j = 1; j < whead->req(); j++) {
|
||||
Block* b = get_block_for_node(whead->in(j));
|
||||
Tarjan *vx = &tarjan[b->_pre_order];
|
||||
Tarjan *u = vx->EVAL();
|
||||
if( u->_semi < w->_semi )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue