Home | History | Annotate | Download | only in ssa

Lines Matching refs:oldIndex

488      * RuntimeException if {@code oldIndex} was not a successor.
490 * @param oldIndex index of old successor block
493 public void replaceSuccessor(int oldIndex, int newIndex) {
494 if (oldIndex == newIndex) {
501 if (primarySuccessor == oldIndex) {
506 if (successorList.get(i) == oldIndex) {
511 successors.clear(oldIndex);
517 parent.getBlocks().get(oldIndex).predecessors.clear(index);
523 * @param oldIndex index of successor block to remove
525 public void removeSuccessor(int oldIndex) {
529 if (successorList.get(i) == oldIndex) {
537 successors.clear(oldIndex);
538 parent.getBlocks().get(oldIndex).predecessors.clear(index);