public static final OPT_Operator getLoadOp(VM_TypeReference type) {    if (false) { if (type.isByteType())      return BYTE_LOAD; if (type.isBooleanType())   return UBYTE_LOAD; if (type.isCharType())      return USHORT_LOAD; if (type.isShortType())     return SHORT_LOAD; } if (type.isLongType())      return LONG_LOAD; if (type.isFloatType())     return FLOAT_LOAD; if (type.isDoubleType())    return DOUBLE_LOAD; if (type.isReferenceType()) return REF_LOAD; if (type.isWordType())      return REF_LOAD; return INT_LOAD;
public static final OPT_Operator getLoadOp(VM_FieldReference field) { return getLoadOp(field.getFieldContentsType());
  public static final OPT_Operator getLoadOp(VM_TypeReference type) {    // TODO: Until we pack subword fields, there is no reason to    //       use the sub-word load operators because it only forces us     //       into doing useless sign extension.    if (false) {      if (type.isByteType())      return BYTE_LOAD;      if (type.isBooleanType())   return UBYTE_LOAD;      if (type.isCharType())      return USHORT_LOAD;      if (type.isShortType())     return SHORT_LOAD;    }    if (type.isLongType())      return LONG_LOAD;    if (type.isFloatType())     return FLOAT_LOAD;    if (type.isDoubleType())    return DOUBLE_LOAD;    if (type.isReferenceType()) return REF_LOAD;    if (type.isWordType())      return REF_LOAD;    return INT_LOAD;  }