private InsnList convertInsns(ArrayList<SsaInsn> ssaInsns) {
    int insnCount = ssaInsns.size();
    InsnList result = new InsnList(insnCount);

    for (int i = 0; i < insnCount; i++) {
      result.set(i, ssaInsns.get(i).toRopInsn());
    }

    result.setImmutable();

    return result;
  }
Converts an insn list to rop form.

@param ssaInsns {@code non-null;} old instructions
@return {@code non-null;} immutable instruction list
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/SsaToRop.java