Changeset 42811 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Apr 23, 2009, 10:12:10 PM (16 years ago)
Author:
[email protected]
Message:

With great sadness and a heavy heart I switch us back from YARR to WREC in
order to restore greenness to the world once more.

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

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r42810 r42811  
     12009-04-23  Mark Rowe  <[email protected]>
     2
     3        With great sadness and a heavy heart I switch us back from YARR to WREC in
     4        order to restore greenness to the world once more.
     5
     6        * wtf/Platform.h:
     7
    182009-04-23  Mark Rowe  <[email protected]>
    29
  • trunk/JavaScriptCore/wtf/Platform.h

    r42802 r42811  
    500500#endif
    501501
     502/* WREC supports x86 & x86-64, and has been tested on Mac and Windows ('cept on 64-bit on Mac). */
     503#if (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(MAC)) \
     504 || (!defined(ENABLE_WREC) && PLATFORM(X86_64) && PLATFORM(MAC)) \
     505 || (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(WIN))
     506#define ENABLE_WREC 1
     507#endif
     508
    502509/* Yet Another Regex Runtime. */
    503 /* YARR supports x86 & x86-64, and has been tested on Mac and Windows. */
    504 #if (!defined(ENABLE_YARR_JIT) && PLATFORM(X86) && PLATFORM(MAC)) \
    505  || (!defined(ENABLE_YARR_JIT) && PLATFORM(X86_64) && PLATFORM(MAC)) \
    506  || (!defined(ENABLE_YARR_JIT) && PLATFORM(X86) && PLATFORM(WIN))
    507 #define ENABLE_YARR 1
    508 #define ENABLE_YARR_JIT 1
    509 #endif
    510 /* Sanity Check */
     510#define ENABLE_YARR 0
     511#define ENABLE_YARR_JIT 0
    511512#if ENABLE(YARR_JIT) && !ENABLE(YARR)
    512513#error "YARR_JIT requires YARR"
    513514#endif
    514515
    515 #if ENABLE(JIT) || ENABLE(YARR_JIT)
     516#if ENABLE(JIT) || ENABLE(WREC)
    516517#define ENABLE_ASSEMBLER 1
    517518#endif
Note: See TracChangeset for help on using the changeset viewer.