Changeset 44748 in webkit for trunk/JavaScriptCore/jit


Ignore:
Timestamp:
Jun 16, 2009, 4:35:50 PM (16 years ago)
Author:
[email protected]
Message:

2009-06-16 Gavin Barraclough <[email protected]>

Reviewed by Oliver hunt.

Temporarily partially disable r44492, since this is causing some problems on internal builds.

  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_throw):
  • jit/JITStubs.cpp: (JSC::JITStubs::DEFINE_STUB_FUNCTION):
Location:
trunk/JavaScriptCore/jit
Files:
2 edited

Legend:

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

    r44492 r44748  
    623623    stubCall.call();
    624624    ASSERT(regT0 == returnValueRegister);
    625 #ifndef NDEBUG
    626     // cti_op_throw always changes it's return address,
     625    // Temporarily bring these back on x86 platforms while we fix a bug.
     626#if PLATFORM(X86_64)
     627    addPtr(Imm32(0x48), X86::esp);
     628    pop(X86::ebx);
     629    pop(X86::r15);
     630    pop(X86::r14);
     631    pop(X86::r13);
     632    pop(X86::r12);
     633    pop(X86::ebp);
     634    ret();
     635#elif PLATFORM(X86)
     636    addPtr(Imm32(0x1c), X86::esp);
     637    pop(X86::ebx);
     638    pop(X86::edi);
     639    pop(X86::esi);
     640    pop(X86::ebp);
     641    ret();
     642#elif !defined(NDEBUG)
     643    // cti_op_throw SHOULD always change it's return address,
    627644    // this point in the code should never be reached.
    628645    breakpoint();
  • trunk/JavaScriptCore/jit/JITStubs.cpp

    r44711 r44748  
    23292329    if (!handler) {
    23302330        *stackFrame.exception = exceptionValue;
     2331#if !(PLATFORM(x86) || PLATFORM(x86_64))
     2332        // Termporarily disable this on x86 platforms.
    23312333        STUB_SET_RETURN_ADDRESS(reinterpret_cast<void*>(ctiOpThrowNotCaught));
     2334#endif
    23322335        return JSValue::encode(jsNull());
    23332336    }
Note: See TracChangeset for help on using the changeset viewer.