for (OPT_RegisterOperand def = reg.defList; def != null; def = (OPT_RegisterOperand)def.getNext()) { transform(def); }  for (OPT_RegisterOperand use = reg.useList; use != null; use = (OPT_RegisterOperand)use.getNext()) { transform(use);
synchronized(context){  for (OPT_RegisterOperand def = reg.defList; def != null; def = (OPT_RegisterOperand)def.getNext()) { transform(def); }  for (OPT_RegisterOperand use = reg.useList; use != null; use = (OPT_RegisterOperand)use.getNext()) { transform(use); }
  public void transform () {    // first change the defs    for (OPT_RegisterOperand def = reg.defList; def != null;         def = (OPT_RegisterOperand)def.getNext()) {      transform(def);    }    // now fix the uses    for (OPT_RegisterOperand use = reg.useList; use != null;         use = (OPT_RegisterOperand)use.getNext()) {      transform(use);    }  }