public static void recordUse(RegisterOperand regOp){
  Register reg=regOp.getRegister();
  regOp.setNext(reg.useList);
  reg.useList=regOp;
  reg.useCount++;
}

public static void recordUse ( RegisterOperand regOp ) { Register reg = regOp . getRegister ( ) ; regOp . setNext ( reg . useList ) ; reg . useList = regOp ; reg . useCount ++ ; }
record a use of a register
