private static RegisterPriority registerPriorityOfInputOperand(EnumSet<OperandFlag> flags){
  if (flags.contains(OperandFlag.OUTGOING)) {
    return RegisterPriority.None;
  }
  if (flags.contains(OperandFlag.STACK)) {
    return RegisterPriority.ShouldHaveRegister;
  }
  return RegisterPriority.MustHaveRegister;
}

private static RegisterPriority registerPriorityOfInputOperand ( EnumSet < OperandFlag > flags ) { if ( flags . contains ( OperandFlag . OUTGOING ) ) { return RegisterPriority . None ; } if ( flags . contains ( OperandFlag . STACK ) ) { return RegisterPriority . ShouldHaveRegister ; } return RegisterPriority . MustHaveRegister ; }
determines the priority which with an instruction ' s input operand will be allocated a register .
