Ignore:
Timestamp:
Apr 7, 2010, 4:06:11 PM (15 years ago)
Author:
[email protected]
Message:

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

Reviewed by Geoff Garen.

  • wtf/PassRefPtr.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.