Changeset 40404 in webkit


Ignore:
Timestamp:
Jan 30, 2009 7:17:35 AM (15 years ago)
Author:
Simon Hausmann
Message:

2009-01-30 Laszlo Gombos <Laszlo Gombos>

Reviewed by Simon Hausmann.

Bug 23580: GNU mode RVCT compilation support
<https://bugs.webkit.org/show_bug.cgi?id=23580>

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r40400 r40404  
     12009-01-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Bug 23580: GNU mode RVCT compilation support
     6        <https://bugs.webkit.org/show_bug.cgi?id=23580>
     7
     8        * pcre/pcre_exec.cpp: Use COMPILER(GCC) instead of __GNUC__.
     9        * wtf/FastMalloc.cpp: Ditto.
     10        (WTF::TCMallocStats::):
     11        * wtf/Platform.h: Don't define COMPILER(GCC) with RVCT --gnu.
     12
    1132009-01-30  David Levin  <levin@chromium.org>
    214
  • trunk/JavaScriptCore/pcre/pcre_exec.cpp

    r39554 r40404  
    5757using namespace WTF;
    5858
    59 #ifdef __GNUC__
     59#if COMPILER(GCC)
    6060#define USE_COMPUTED_GOTO_FOR_MATCH_RECURSION
    6161//#define USE_COMPUTED_GOTO_FOR_MATCH_OPCODE_LOOP
  • trunk/JavaScriptCore/wtf/FastMalloc.cpp

    r40169 r40404  
    35723572#if defined(__GLIBC__)
    35733573extern "C" {
    3574 # if defined(__GNUC__) && !defined(__MACH__) && defined(HAVE___ATTRIBUTE__)
     3574#if COMPILER(GCC) && !defined(__MACH__) && defined(HAVE___ATTRIBUTE__)
    35753575  // Potentially faster variants that use the gcc alias extension.
    35763576  // Mach-O (Darwin) does not support weak aliases, hence the __MACH__ check.
  • trunk/JavaScriptCore/wtf/Platform.h

    r39960 r40404  
    243243#endif
    244244
     245/* COMPILER(RVCT) */
     246#if defined(__CC_ARM) || defined(__ARMCC__)
     247#define WTF_COMPILER_RVCT 1
     248#endif
     249
    245250/* COMPILER(GCC) */
    246 #if defined(__GNUC__)
     251/* --gnu option of the RVCT compiler also defines __GNUC__ */
     252#if defined(__GNUC__) && !COMPILER(RVCT)
    247253#define WTF_COMPILER_GCC 1
    248254#endif
     
    263269#if defined(__CYGWIN__)
    264270#define WTF_COMPILER_CYGWIN 1
    265 #endif
    266 
    267 /* COMPILER(RVCT) */
    268 #if defined(__CC_ARM) || defined(__ARMCC__)
    269 #define WTF_COMPILER_RVCT 1
    270271#endif
    271272
  • trunk/WebCore/ChangeLog

    r40399 r40404  
     12009-01-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Bug 23580: GNU mode RVCT compilation support
     6        <https://bugs.webkit.org/show_bug.cgi?id=23580>
     7
     8        * html/PreloadScanner.cpp: Use COMPILER(GCC) instead of __GNUC__.
     9
    1102009-01-30  David Levin  <levin@chromium.org>
    211
  • trunk/WebCore/html/PreloadScanner.cpp

    r39784 r40404  
    4444#include <wtf/unicode/Unicode.h>
    4545
    46 #ifdef __GNUC__
     46#if COMPILER(GCC)
    4747// The main tokenizer includes this too so we are getting two copies of the data. However, this way the code gets inlined.
    4848#include "HTMLEntityNames.c"
Note: See TracChangeset for help on using the changeset viewer.