Changeset 37625 in webkit for trunk/JavaScriptCore/VM/Machine.cpp


Ignore:
Timestamp:
Oct 15, 2008, 7:36:14 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-15 Csaba Osztrogonac <[email protected]>

Reviewed by Geoffrey Garen.

1.40% speedup on SunSpider, 1.44% speedup on V8. (Linux)


No change on Mac.

  • VM/Machine.cpp: (JSC::fastIsNumber): ALWAYS_INLINE modifier added.
File:
1 edited

Legend:

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

    r37602 r37625  
    129129// FIXME: This operation should be called "getNumber", not "isNumber" (as it is in JSValue.h).
    130130// FIXME: There's no need to have a "slow" version of this. All versions should be fast.
    131 static bool fastIsNumber(JSValue* value, double& arg)
     131static ALWAYS_INLINE bool fastIsNumber(JSValue* value, double& arg)
    132132{
    133133    if (JSImmediate::isNumber(value))
Note: See TracChangeset for help on using the changeset viewer.