int slot = field.getOffset() >>> LOG_BYTES_IN_INT;
int slot = field.getOffsetAsInt() >>> LOG_BYTES_IN_INT;
  public static int getIntStaticFieldValue(VM_Field field)     throws NoSuchFieldException {    if (VM.runningVM) {      int slot = field.getOffset() >>> LOG_BYTES_IN_INT;      return VM_Statics.getSlotContentsAsInt(slot);    } else {      try {        Field f = getJDKField(field);        VM_TypeReference fieldType = field.getType();        if (fieldType.isBooleanType()) {          boolean val = f.getBoolean(null);          return val?1:0;        } else if (fieldType.isByteType()) {          return f.getByte(null);        } else if (fieldType.isShortType()) {          return f.getShort(null);        } else if (fieldType.isIntType()) {          return f.getInt(null);        } else if (fieldType.isCharType()) {          return f.getChar(null);        } else {          throw new OPT_OptimizingCompilerException("Unsupported type "+field+"\n");        }      } catch (IllegalAccessException e) {        throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e);      } catch (IllegalArgumentException e) {        throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e);      }    }  }