Changeset 44748 in webkit for trunk/JavaScriptCore/jit
- Timestamp:
- Jun 16, 2009, 4:35:50 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/jit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITOpcodes.cpp
r44492 r44748 623 623 stubCall.call(); 624 624 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, 627 644 // this point in the code should never be reached. 628 645 breakpoint(); -
trunk/JavaScriptCore/jit/JITStubs.cpp
r44711 r44748 2329 2329 if (!handler) { 2330 2330 *stackFrame.exception = exceptionValue; 2331 #if !(PLATFORM(x86) || PLATFORM(x86_64)) 2332 // Termporarily disable this on x86 platforms. 2331 2333 STUB_SET_RETURN_ADDRESS(reinterpret_cast<void*>(ctiOpThrowNotCaught)); 2334 #endif 2332 2335 return JSValue::encode(jsNull()); 2333 2336 }
Note:
See TracChangeset
for help on using the changeset viewer.