scalars[i] = OPT_IRTools.moveIntoRegister(ir.regpool, defI, defaultValue);
scalars[i] = OPT_IRTools.moveIntoRegister(ir.regpool, defI, defaultValue.copy());
  public void transform () {    // first set up temporary scalars for the array elements    // initialize them before the def.    OPT_RegisterOperand scalars[] = new OPT_RegisterOperand[size];    VM_Type elementType = vmArray.getElementType();    OPT_RegisterOperand def = reg.defList;    OPT_Instruction defI = def.instruction;    OPT_Operand defaultValue = OPT_IRTools.getDefaultOperand(elementType.getTypeRef());    for (int i = 0; i < size; i++) {      scalars[i] = OPT_IRTools.moveIntoRegister(ir.regpool, defI, defaultValue);    }    // now remove the def    if (DEBUG)      System.out.println("Removing " + defI);    OPT_DefUse.removeInstructionAndUpdateDU(defI);    // now handle the uses    for (OPT_RegisterOperand use = reg.useList; use != null;         use = (OPT_RegisterOperand)use.getNext()) {      scalarReplace(use, scalars);    }  }