public void exitBlockFixup(SsaBasicBlock exitBlock) {
    if (this == exitBlock) {
      return;
    }

    if (successorList.size() == 0) {
      /*
       * This is an exit predecessor.
       * Set the successor to the exit block
       */
      successors.set(exitBlock.index);
      successorList.add(exitBlock.index);
      primarySuccessor = exitBlock.index;
      exitBlock.predecessors.set(this.index);
    }
  }
Attaches block to an exit block if necessary. If this block is not an exit predecessor or is
the exit block, this block does nothing. For use by {@link
SsaMethod#makeExitBlock}

@param exitBlock {@code non-null;} exit block
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/SsaBasicBlock.java