Changeset 37406 in webkit for trunk/JavaScriptCore/VM/Machine.h


Ignore:
Timestamp:
Oct 7, 2008, 9:56:38 PM (17 years ago)
Author:
[email protected]
Message:

Switch CTI runtime calls to the fastcall calling convention

Reviewed by Cameron Zwarich

Basically this means that we get to store the argument for CTI
calls in the ECX register, which saves a register->memory write
and subsequent memory->register read.

This is a 1.7% progression in SunSpider and 2.4% on commandline
v8 tests on Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.h

    r37386 r37406  
    135135
    136136#if ENABLE(CTI)
    137 #if COMPILER(MSVC)
    138 #define SFX_CALL __cdecl
    139 #else
    140 #define SFX_CALL
    141 #endif
    142137
    143138        static void SFX_CALL cti_timeout_check(CTI_ARGS);
Note: See TracChangeset for help on using the changeset viewer.