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/JSCallbackFunction.h

    r43122 r43372  
    4949    virtual const ClassInfo* classInfo() const { return &info; }
    5050
    51     static JSValue call(ExecState*, JSObject*, JSValue, const ArgList&);
     51    static JSValue JSC_HOST_CALL call(ExecState*, JSObject*, JSValue, const ArgList&);
    5252
    5353    JSObjectCallAsFunctionCallback m_callback;
Note: See TracChangeset for help on using the changeset viewer.