private static long getAddressValue(VM_Address addr, String msg, boolean warn) {
private static long getAddressValue(Object addr, String msg, boolean warn) {
  private static long getAddressValue(VM_Address addr, String msg, boolean warn) {    if (addr == null) return 0L;    long value = addr.toLong();    if (warn) check((int) value, msg);    return value;  }