Changeset 57240 in webkit


Ignore:
Timestamp:
Apr 7, 2010 4:06:11 PM (14 years ago)
Author:
oliver@apple.com
Message:

Beat gcc with a clue bat -- force inlining of refIfNotNull and derefIfNotNull

Reviewed by Geoff Garen.

  • wtf/PassRefPtr.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r57226 r57240  
     12010-04-07  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Geoff Garen.
     4
     5        Beat gcc with a clue bat -- force inlining of refIfNotNull and derefIfNotNull
     6
     7        * wtf/PassRefPtr.h:
     8
    192010-04-07  Kwang Yul Seo  <skyul@company100.net>
    210
  • trunk/JavaScriptCore/wtf/PassRefPtr.h

    r54724 r57240  
    3636    template<typename T>
    3737#if !COMPILER(WINSCW)
    38     inline
     38    ALWAYS_INLINE
    3939#endif
    4040    void refIfNotNull(T* ptr)
     
    4646    template<typename T>
    4747#if !COMPILER(WINSCW)
    48     inline
     48    ALWAYS_INLINE
    4949#endif
    5050    void derefIfNotNull(T* ptr)
Note: See TracChangeset for help on using the changeset viewer.