Ignore:
Timestamp:
May 7, 2009, 3:52:19 PM (16 years ago)
Author:
[email protected]
Message:

Improve native call performance

Reviewed by Gavin Barraclough.

Fix the windows build by adding calling convention declarations everywhere,
chose fastcall as that seemed most sensible given we were having to declare
the convention explicitly. In addition switched to fastcall on mac in the
deluded belief that documented fastcall behavior on windows would match
actual its actual behavior.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackObject.h

    r43122 r43372  
    8080    static JSCallbackObject* asCallbackObject(JSValue);
    8181 
    82     static JSValue call(ExecState*, JSObject* functionObject, JSValue thisValue, const ArgList&);
     82    static JSValue JSC_HOST_CALL call(ExecState*, JSObject* functionObject, JSValue thisValue, const ArgList&);
    8383    static JSObject* construct(ExecState*, JSObject* constructor, const ArgList&);
    8484   
Note: See TracChangeset for help on using the changeset viewer.