Commit 856e6a8b authored by barraclough@apple.com's avatar barraclough@apple.com

2009-04-28 Gavin Barraclough <barraclough@apple.com>

        Rubber stamped by Maciej "Henry Morgan" Stachowiak.

        Enable YARR.
        (Again.)

        * wtf/Platform.h:



git-svn-id: svn://svn.chromium.org/blink/trunk@42923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e456632f
2009-04-28 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Maciej "Henry Morgan" Stachowiak.
Enable YARR.
(Again.)
* wtf/Platform.h:
2009-04-27 Gavin Barraclough <barraclough@apple.com>
Reviewed by Maciej Stachowiak.
......@@ -501,21 +501,20 @@
#endif
#endif
/* WREC supports x86 & x86-64, and has been tested on Mac and Windows ('cept on 64-bit on Mac). */
#if (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(MAC)) \
|| (!defined(ENABLE_WREC) && PLATFORM(X86_64) && PLATFORM(MAC)) \
|| (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(WIN))
#define ENABLE_WREC 1
#endif
/* Yet Another Regex Runtime. */
#define ENABLE_YARR 0
#define ENABLE_YARR_JIT 0
/* YARR supports x86 & x86-64, and has been tested on Mac and Windows. */
#if (!defined(ENABLE_YARR_JIT) && PLATFORM(X86) && PLATFORM(MAC)) \
|| (!defined(ENABLE_YARR_JIT) && PLATFORM(X86_64) && PLATFORM(MAC)) \
|| (!defined(ENABLE_YARR_JIT) && PLATFORM(X86) && PLATFORM(WIN))
#define ENABLE_YARR 1
#define ENABLE_YARR_JIT 1
#endif
/* Sanity Check */
#if ENABLE(YARR_JIT) && !ENABLE(YARR)
#error "YARR_JIT requires YARR"
#endif
#if ENABLE(JIT) || ENABLE(WREC)
#if ENABLE(JIT) || ENABLE(YARR_JIT)
#define ENABLE_ASSEMBLER 1
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment