int offset = ip.diff(codeBase).toInt();
  private static void printMethodHeader(VM_CompiledMethod compiledMethod,                                        VM_Address fp, VM_Address ip) {    VM_Method method = compiledMethod.getMethod();    int compiledMethodType = compiledMethod.getCompilerType();    VM.sysWrite("\n--- METHOD (",                VM_CompiledMethod.compilerTypeToString(compiledMethodType), ") ");    if (method == null)        VM.sysWrite("null method");    else        VM.sysWrite(method);    VM.sysWriteln();    VM.sysWrite("--- fp = ", fp);    if (compiledMethod.isCompiled()) {        VM_Address codeBase = VM_Magic.objectAsAddress(compiledMethod.getInstructions());        int offset = ip.diff(codeBase).toInt();        VM.sysWrite("     code base = ", codeBase);        VM.sysWriteln("     code offset = ", offset);    }    else      VM.sysWriteln("   Method is uncompiled - ip = ", ip);  }