Changeset 37500 in webkit for trunk/JavaScriptCore/VM/CTI.cpp


Ignore:
Timestamp:
Oct 10, 2008, 10:49:39 PM (17 years ago)
Author:
[email protected]
Message:

Use fastcall calling convention on GCC > 4.0

Reviewed by Cameron Zwarich

Results in a 2-3% improvement in GCC 4.2 performance, so
that it is no longer a regression vs. GCC 4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CTI.cpp

    r37457 r37500  
    110110SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
    111111#if USE(CTI_ARGUMENT)
     112#if USE(FAST_CALL_CTI_ARGUMENT)
     113    "movl %esp, %ecx" "\n"
     114#else
     115    "movl %esp, 0(%esp)" "\n"
     116#endif
    112117    "call " SYMBOL_STRING(_ZN3JSC7Machine12cti_vm_throwEPPv) "\n"
    113118#else
Note: See TracChangeset for help on using the changeset viewer.