Changeset 147881 in webkit


Ignore:
Timestamp:
Apr 7, 2013 3:08:32 PM (11 years ago)
Author:
Patrick Gansterer
Message:

Do not check if WTF_ARM_ARCH_VERSION is defined in WTF_ARM_ARCH_AT_LEAST macro
https://bugs.webkit.org/show_bug.cgi?id=114127

Reviewed by Benjamin Poulain.

Platform.h defines WTF_ARM_ARCH_VERSION for CPU(ARM) always and removing
the check works around a bug in older Microsoft compiler versions.

  • wtf/Platform.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r147878 r147881  
     12013-04-07  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Do not check if WTF_ARM_ARCH_VERSION is defined in WTF_ARM_ARCH_AT_LEAST macro
     4        https://bugs.webkit.org/show_bug.cgi?id=114127
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Platform.h defines WTF_ARM_ARCH_VERSION for CPU(ARM) always and removing
     9        the check works around a bug in older Microsoft compiler versions.
     10
     11        * wtf/Platform.h:
     12
    1132013-04-07  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WTF/wtf/Platform.h

    r147857 r147881  
    164164
    165165/* CPU(ARM) - ARM, any version*/
    166 #define WTF_ARM_ARCH_AT_LEAST(N) (CPU(ARM) && defined(WTF_ARM_ARCH_VERSION) && WTF_ARM_ARCH_VERSION >= N)
     166#define WTF_ARM_ARCH_AT_LEAST(N) (CPU(ARM) && WTF_ARM_ARCH_VERSION >= N)
    167167
    168168#if   defined(arm) \
Note: See TracChangeset for help on using the changeset viewer.