Ignore:
Timestamp:
Jun 17, 2009, 10:50:07 PM (16 years ago)
Author:
[email protected]
Message:

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

Rubber Stamped by Mark Rowe.

Fully revert r44492 & r44748 while we fix a bug they cause on internal builds <rdar://problem/6955963>.

  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_throw):
  • jit/JITStubs.cpp: (JSC::): (JSC::JITStubs::DEFINE_STUB_FUNCTION):
  • jit/JITStubs.h:
File:
1 edited

Legend:

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

    r44748 r44796  
    105105#endif
    106106    "call " SYMBOL_STRING(cti_vm_throw) "\n"
    107 ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
    108 SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
    109107    "addl $0x1c, %esp" "\n"
    110108    "popl %ebx" "\n"
     
    158156    "movq %rsp, %rdi" "\n"
    159157    "call " SYMBOL_STRING(cti_vm_throw) "\n"
    160 ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
    161 SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
    162158    "addq $0x48, %rsp" "\n"
    163159    "popq %rbx" "\n"
     
    286282            mov ecx, esp;
    287283            call JITStubs::cti_vm_throw;
    288             add esp, 0x1c;
    289             pop ebx;
    290             pop edi;
    291             pop esi;
    292             pop ebp;
    293             ret;
    294         }
    295     }
    296 
    297     __declspec(naked) void ctiOpThrowNotCaught()
    298     {
    299         __asm {
    300284            add esp, 0x1c;
    301285            pop ebx;
     
    23292313    if (!handler) {
    23302314        *stackFrame.exception = exceptionValue;
    2331 #if !(PLATFORM(x86) || PLATFORM(x86_64))
    2332         // Termporarily disable this on x86 platforms.
    2333         STUB_SET_RETURN_ADDRESS(reinterpret_cast<void*>(ctiOpThrowNotCaught));
    2334 #endif
    23352315        return JSValue::encode(jsNull());
    23362316    }
Note: See TracChangeset for help on using the changeset viewer.