public BasicBlock lookupBlockByLabel ( int blockLabel ) { for ( Iterator < BasicBlock > i = blockIterator ( ) ; i . hasNext ( ) ; ) { BasicBlock basicBlock = i . next ( ) ; if ( basicBlock . getLabel ( ) == blockLabel ) { return basicBlock ; } } return null ; }
Look up a BasicBlock by its unique label .