return offset.toInt();
return offset;
  public final int getInstructionOffset(Address ip) throws UninterruptiblePragma {    if (getCompilerType() == JNI || getCompilerType() == TRAP) {      return 0;    } else {      VM_CodeArray code = getInstructions();      Offset offset = ip.diff(VM_Magic.objectAsAddress(code));      if (VM.VerifyAssertions) {        int max = (code.length()+1)<< VM_Constants.LG_INSTRUCTION_WIDTH;        if (!offset.toWord().LT(Word.fromIntZeroExtend(max))) {          VM.sysWrite(method);          VM.sysWriteln();          VM.sysWriteln(offset);          VM.sysWriteln(Offset.fromInt(max));          VM.sysWriteln(ip);          VM.sysWriteln(VM_Magic.objectAsAddress(code));          VM._assert(false);        }      }      // NOTE: we are absolutely positive that offset will fit in 32 bits      // because we don't create VM_CodeArrays that are so massive it won't.      // Thus, we do the assertion checking above to ensure that ip is in range.      return offset.toInt();    }  }