Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/domgraph.cpp @ 12023:d1034bd8cefc
8022284: Hide internal data structure in PhaseCFG
Summary: Hide private node to block mapping using public interface
Reviewed-by: kvn, roland
author | adlertz |
---|---|
date | Wed, 07 Aug 2013 17:56:19 +0200 |
parents | b9a9ed0f8eeb |
children | adb9a7d94cb5 |
line wrap: on
line diff
--- a/src/share/vm/opto/domgraph.cpp Mon Aug 05 15:03:40 2013 -0700 +++ b/src/share/vm/opto/domgraph.cpp Wed Aug 07 17:56:19 2013 +0200 @@ -105,8 +105,8 @@ // 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 )