VM_Magic.setMemoryWord(fp.add(spOffset), VM_Magic.getMemoryWord(fp.add(spOffset)) + delta);
VM_Magic.setMemoryAddress(fp.add(spOffset), VM_Magic.getMemoryAddress(fp.add(spOffset)).add(delta));
    private static void adjustStack(int[] stack, VM_Address fp, int delta) {      if (traceAdjustments) VM.sysWrite("VM_Thread: adjustStack\n");      while (VM_Magic.getCallerFramePointer(fp).toInt() != STACKFRAME_SENTINAL_FP)      {        // adjust FP save area        //        VM_Magic.setCallerFramePointer(fp,                                        VM_Magic.getCallerFramePointer(fp).add(delta));        if (traceAdjustments)           VM.sysWrite(" fp=", fp.toInt());        // adjust SP save area (baseline frames only)        //        //-#if RVM_FOR_POWERPC        int compiledMethodId = VM_Magic.getCompiledMethodID(fp);        if (compiledMethodId != INVISIBLE_METHOD_ID) {          VM_CompiledMethod compiledMethod =             VM_CompiledMethods.getCompiledMethod(compiledMethodId);          if (compiledMethod.getCompilerType() == VM_CompiledMethod.BASELINE) {            int spOffset = VM_Compiler.getSPSaveAreaOffset((VM_NormalMethod)compiledMethod.getMethod());            VM_Magic.setMemoryWord(fp.add(spOffset),                                    VM_Magic.getMemoryWord(fp.add(spOffset)) + delta);            if (traceAdjustments)               VM.sysWrite(" sp=", VM_Magic.getMemoryWord(fp.add(spOffset)));          }          if (traceAdjustments) {            VM.sysWrite(" method=");            VM.sysWrite(compiledMethod.getMethod());            VM.sysWrite("\n");          }        }        //-#endif        // advance to next frame        //        fp = VM_Magic.getCallerFramePointer(fp);      }    }