Changeset 115940 in webkit


Ignore:
Timestamp:
May 2, 2012 11:10:50 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt]r57240 broke Qt build (gcc bug)
https://bugs.webkit.org/show_bug.cgi?id=37253

Patch by Lauro Neto <lauro.neto@openbossa.org> on 2012-05-02
Reviewed by Csaba Osztrogonác.

Add back the inline hack just for ARM due to old version of
gcc still being used on Harmattan SDK. Thanks to Ossy for the
suggestion.

  • wtf/PassRefPtr.h:

(WTF):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r115893 r115940  
     12012-05-02  Lauro Neto  <lauro.neto@openbossa.org>
     2
     3        [Qt]r57240 broke Qt build (gcc bug)
     4        https://bugs.webkit.org/show_bug.cgi?id=37253
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Add back the inline hack just for ARM due to old version of
     9        gcc still being used on Harmattan SDK. Thanks to Ossy for the
     10        suggestion.
     11        * wtf/PassRefPtr.h:
     12        (WTF):
     13
    1142012-05-02  Nico Weber  <thakis@chromium.org>
    215
  • trunk/Source/WTF/wtf/PassRefPtr.h

    r115802 r115940  
    3333    inline void adopted(const void*) { }
    3434
     35#if !(PLATFORM(QT) && CPU(ARM))
    3536    #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
    3642
    3743    template<typename T> REF_DEREF_INLINE void refIfNotNull(T* ptr)
Note: See TracChangeset for help on using the changeset viewer.