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/runtime/StringConstructor.cpp

    r43226 r43372  
    3939}
    4040
    41 static JSValue stringFromCharCode(ExecState* exec, JSObject*, JSValue, const ArgList& args)
     41static JSValue JSC_HOST_CALL stringFromCharCode(ExecState* exec, JSObject*, JSValue, const ArgList& args)
    4242{
    4343    if (LIKELY(args.size() == 1))
     
    7676
    7777// ECMA 15.5.1
    78 static JSValue callStringConstructor(ExecState* exec, JSObject*, JSValue, const ArgList& args)
     78static JSValue JSC_HOST_CALL callStringConstructor(ExecState* exec, JSObject*, JSValue, const ArgList& args)
    7979{
    8080    if (args.isEmpty())
Note: See TracChangeset for help on using the changeset viewer.