src/share/vm/opto/split_if.cpp

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1607
b2b6a9bf6238
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
316 if( use->is_CFG() ) 316 if( use->is_CFG() )
317 return use; 317 return use;
318 318
319 if( use->is_Phi() ) { // Phi uses in prior block 319 if( use->is_Phi() ) { // Phi uses in prior block
320 // Grab the first Phi use; there may be many. 320 // Grab the first Phi use; there may be many.
321 // Each will be handled as a seperate iteration of 321 // Each will be handled as a separate iteration of
322 // the "while( phi->outcnt() )" loop. 322 // the "while( phi->outcnt() )" loop.
323 uint j; 323 uint j;
324 for( j = 1; j < use->req(); j++ ) 324 for( j = 1; j < use->req(); j++ )
325 if( use->in(j) == def ) 325 if( use->in(j) == def )
326 break; 326 break;

mercurial