Changeset 43374 in webkit for trunk/JavaScriptCore/jit/JIT.cpp


Ignore:
Timestamp:
May 7, 2009, 4:33:00 PM (16 years ago)
Author:
[email protected]
Message:

2009-05-07 Geoffrey Garen <[email protected]>

Reviewed by Cameron Zwarich.


Replaced two more macros with references to the JITStackFrame structure.

  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass):
  • jit/JITInlineMethods.h: (JSC::JIT::restoreArgumentReference):
  • jit/JITStubs.cpp: (JSC::):
  • jit/JITStubs.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JIT.cpp

    r43372 r43374  
    905905        }
    906906        case op_catch: {
    907             emitGetCTIParam(STUB_ARGS_callFrame, callFrameRegister);
     907            emitGetCTIParam(offsetof(struct JITStackFrame, callFrame) / sizeof (void*), callFrameRegister);
    908908            emitPutVirtualRegister(currentInstruction[1].u.operand);
    909909            NEXT_OPCODE(op_catch);
     
    19361936    move(ImmPtr(reinterpret_cast<void*>(ctiVMThrowTrampoline)), regT2);
    19371937    emitGetFromCallFrameHeader(RegisterFile::CallerFrame, callFrameRegister);
    1938     emitPutCTIParam(callFrameRegister, STUB_ARGS_callFrame);
     1938    emitPutCTIParam(callFrameRegister, offsetof(struct JITStackFrame, callFrame) / sizeof (void*));
    19391939    push(regT2);
    19401940    ret();
Note: See TracChangeset for help on using the changeset viewer.