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):
File:
1 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();
Note: See TracChangeset for help on using the changeset viewer.