private static <T extends AbstractBlockBase<T>>void computeCodeEmittingOrder(List<T> order,PriorityQueue<T> worklist,BitSet visitedBlocks){
  while (!worklist.isEmpty()) {
    T nextImportantPath=worklist.poll();
    addPathToCodeEmittingOrder(nextImportantPath,order,worklist,visitedBlocks);
  }
}

private static < T extends AbstractBlockBase < T > > void computeCodeEmittingOrder ( List < T > order , PriorityQueue < T > worklist , BitSet visitedBlocks ) { while ( ! worklist . isEmpty ( ) ) { T nextImportantPath = worklist . poll ( ) ; addPathToCodeEmittingOrder ( nextImportantPath , order , worklist , visitedBlocks ) ; } }
iteratively adds paths to the code emission block order .
