Changeset 155232 in webkit


Ignore:
Timestamp:
Sep 6, 2013 7:35:57 PM (11 years ago)
Author:
akling@apple.com
Message:

Remove old workaround for Nokia's Harmattan GCC on Qt/ARM.
<https://webkit.org/b/37253>

Reviewed by Anders Carlsson.

Apparently this was a workaround for GCC getting stuck in an infinite loop
when building for ARM in a Nokia SDK over 2 years ago.

I think it's safe to remove this now, but if I'm wrong, and you're reading
this ChangeLog wondering why I did this to you, feel free to put it back in.

  • wtf/PassRefPtr.h:

(WTF::refIfNotNull):
(WTF::derefIfNotNull):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r155231 r155232  
     12013-09-06  Andreas Kling  <akling@apple.com>
     2
     3        Remove old workaround for Nokia's Harmattan GCC on Qt/ARM.
     4        <https://webkit.org/b/37253>
     5
     6        Reviewed by Anders Carlsson.
     7
     8        Apparently this was a workaround for GCC getting stuck in an infinite loop
     9        when building for ARM in a Nokia SDK over 2 years ago.
     10
     11        I think it's safe to remove this now, but if I'm wrong, and you're reading
     12        this ChangeLog wondering why I did this to you, feel free to put it back in.
     13
     14        * wtf/PassRefPtr.h:
     15        (WTF::refIfNotNull):
     16        (WTF::derefIfNotNull):
     17
    1182013-09-06  Andreas Kling  <akling@apple.com>
    219
  • trunk/Source/WTF/wtf/PassRefPtr.h

    r149673 r155232  
    3333    inline void adopted(const void*) { }
    3434
    35 #if !(PLATFORM(QT) && CPU(ARM))
    36     #define REF_DEREF_INLINE ALWAYS_INLINE
    37 #else
    38     // Older version of gcc used by Harmattan SDK fails to build with ALWAYS_INLINE.
    39     // See https://bugs.webkit.org/show_bug.cgi?id=37253 for details.
    40     #define REF_DEREF_INLINE inline
    41 #endif
    42 
    43     template<typename T> REF_DEREF_INLINE void refIfNotNull(T* ptr)
     35    template<typename T> ALWAYS_INLINE void refIfNotNull(T* ptr)
    4436    {
    4537        if (LIKELY(ptr != 0))
     
    4739    }
    4840
    49     template<typename T> REF_DEREF_INLINE void derefIfNotNull(T* ptr)
     41    template<typename T> ALWAYS_INLINE void derefIfNotNull(T* ptr)
    5042    {
    5143        if (LIKELY(ptr != 0))
    5244            ptr->deref();
    5345    }
    54 
    55     #undef REF_DEREF_INLINE
    5646
    5747    template<typename T> class PassRefPtr {
Note: See TracChangeset for help on using the changeset viewer.