public void changeResultReg(int reg) {
    if (result != null) {
      result = result.withReg(reg);
    }
  }
Changes the result register if this insn has a result. This is used during renaming.

@param reg new result register
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/SsaInsn.java