private void processRegister(RegisterSpec result,EscapeSet escSet){
  ArrayList<RegisterSpec> regWorklist=new ArrayList<RegisterSpec>();
  regWorklist.add(result);
  while (!regWorklist.isEmpty()) {
    int listSize=regWorklist.size() - 1;
    RegisterSpec def=regWorklist.remove(listSize);
    List<SsaInsn> useList=ssaMeth.getUseListForRegister(def.getReg());
    for (    SsaInsn use : useList) {
      Rop useOpcode=use.getOpcode();
      if (useOpcode == null) {
        processPhiUse(use,escSet,regWorklist);
      }
 else {
        processUse(def,use,escSet,regWorklist);
      }
    }
  }
}

private void processRegister ( RegisterSpec result , EscapeSet escSet ) { ArrayList < RegisterSpec > regWorklist = new ArrayList < RegisterSpec > ( ) ; regWorklist . add ( result ) ; while ( ! regWorklist . isEmpty ( ) ) { int listSize = regWorklist . size ( ) - 1 ; RegisterSpec def = regWorklist . remove ( listSize ) ; List < SsaInsn > useList = ssaMeth . getUseListForRegister ( def . getReg ( ) ) ; for ( SsaInsn use : useList ) { Rop useOpcode = use . getOpcode ( ) ; if ( useOpcode == null ) { processPhiUse ( use , escSet , regWorklist ) ; } else { processUse ( def , use , escSet , regWorklist ) ; } } } }
iterate through all the uses of a new object .
