private void convertRopToSsaBlocks(RopMethod rmeth) {
    BasicBlockList ropBlocks = rmeth.getBlocks();
    int sz = ropBlocks.size();

    blocks = new ArrayList<SsaBasicBlock>(sz + 2);

    for (int i = 0; i < sz; i++) {
      SsaBasicBlock sbb = SsaBasicBlock.newFromRop(rmeth, i, this);
      blocks.add(sbb);
    }

    // Add an no-op entry block.
    int origEntryBlockIndex = rmeth.getBlocks().indexOfLabel(rmeth.getFirstLabel());

    SsaBasicBlock entryBlock = blocks.get(origEntryBlockIndex).insertNewPredecessor();

    entryBlockIndex = entryBlock.getIndex();
    exitBlockIndex = -1; // This gets made later.
  }
Gets a new {@code GOTO} insn.

@param block block to which this GOTO will be added (not it's destination!)
@return an appropriately-constructed instance.
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/SsaMethod.java