buf.append(Integer.toHexString(VM_Magic.objectAsAddress(ref).toInt()));
if (VM.BuildFor32Addr) buf.append(Integer.toHexString(VM_Magic.objectAsAddress(ref).toInt())); else buf.append(Long.toHexString(VM_Magic.objectAsAddress(ref).toLong()));
  public String toString() {    StringBuffer buf = new StringBuffer("(");        if (kind == LOCAL)      buf.append('L');    else       buf.append('S');    buf.append(num);    buf.append(",");    char t = 'V';    switch (tcode) {    case INT:      t = 'I';      break;    case FLOAT:      t = 'F';      break;    case LONG:      t = 'J';      break;    case DOUBLE:      t = 'D';      break;    case ADDR:      t = 'A';      break;    case REF:      t = 'L';      break;    }    buf.append(t);    buf.append(",");        switch (tcode) {    case REF:      // it is legal to have a null reference.      if (ref == null) {        buf.append("null");      } else {        buf.append("0x");        buf.append(Integer.toHexString(VM_Magic.objectAsAddress(ref).toInt()));        buf.append(" ");//      buf.append(ref.toString());      }      break;    case FLOAT:      buf.append(VM_Magic.intBitsAsFloat((int)(value & 0x0FFFFFFFF)));      break;    case LONG:      buf.append(value);      break;    case DOUBLE:      buf.append(VM_Magic.longBitsAsDouble(value));      break;    default:      buf.append((int)(value & 0x0FFFFFFFF));      break;    }    buf.append(")");        return buf.toString();  }