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:
Niclas Adlertz 2013-08-07 17:56:19 +02:00
parent 7107241178
commit bfe8385fa9
19 changed files with 327 additions and 280 deletions

View file

@ -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 )