Ignore:
Timestamp:
Oct 31, 2007, 12:20:00 AM (18 years ago)
Author:
aroben
Message:

Change ALWAYS_INLINE and WTF_PRIVATE_INLINE to use forceinline on Windows

Speeds up SunSpider by 0.4%.

Reviewed by Steve and Maciej.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Disable a warning during LTCG in release builds about double -> float conversion.
  • wtf/AlwaysInline.h:
  • wtf/FastMalloc.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/FastMalloc.h

    r23518 r27297  
    5656#elif COMPILER(GCC)
    5757#define WTF_PRIVATE_INLINE inline __attribute__((always_inline))
     58#elif COMPILER(MSVC)
     59#define WTF_PRIVATE_INLINE __forceinline
    5860#else
    5961#define WTF_PRIVATE_INLINE inline
Note: See TracChangeset for help on using the changeset viewer.