public void updateSourcesToDefinitions(SsaMethod ssaMeth) {
    for (Operand o : operands) {
      RegisterSpec def = ssaMeth.getDefinitionForRegister(o.regSpec.getReg()).getResult();

      o.regSpec = o.regSpec.withType(def.getType());
    }

    sources = null;
  }
Updates the TypeBearers of all the sources (phi operands) to be the current TypeBearer of the
register-defining instruction's result. This is used during phi-type resolution.

<p>

<p>Note that local association of operands are preserved in this step.

@param ssaMeth method that contains this insn
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/PhiInsn.java