Commit c31eb852 authored by mark.lam@apple.com's avatar mark.lam@apple.com
Browse files

#undef some symbols before redefining them.

https://bugs.webkit.org/show_bug.cgi?id=97568.

Reviewed by Michael Saboff.

* wtf/Platform.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3cebec07
2012-09-25 Mark Lam <mark.lam@apple.com>
#undef some symbols before redefining them.
https://bugs.webkit.org/show_bug.cgi?id=97568.
Reviewed by Michael Saboff.
* wtf/Platform.h:
2012-09-21 Ilya Tikhonovsky <loislo@chromium.org>
Web Inspector: extract Vector instrumentation from core NMI code into MemoryInstrumentationVector.h header.
......
......@@ -931,6 +931,22 @@
#endif
#endif
/* If the jit is not available, enable the LLInt C Loop: */
#if !ENABLE(JIT)
#undef ENABLE_LLINT /* Undef so that we can redefine it. */
#undef ENABLE_LLINT_C_LOOP /* Undef so that we can redefine it. */
#undef ENABLE_DFG_JIT /* Undef so that we can redefine it. */
#define ENABLE_LLINT 1
#define ENABLE_LLINT_C_LOOP 1
#define ENABLE_DFG_JIT 0
#endif
/* Do a sanity check to make sure that we at least have one execution engine in
use: */
#if !(ENABLE(JIT) || ENABLE(LLINT))
#error You have to have at least one execution model enabled to build JSC
#endif
/* Profiling of types and values used by JIT code. DFG_JIT depends on it, but you
can enable it manually with DFG turned off if you want to use it as a standalone
profiler. In that case, you probably want to also enable VERBOSE_VALUE_PROFILE
......@@ -953,19 +969,6 @@
#define ENABLE_WRITE_BARRIER_PROFILING 0
#endif
/* If the jit and classic interpreter is not available, enable the LLInt C Loop: */
#if !ENABLE(JIT)
#define ENABLE_LLINT 1
#define ENABLE_LLINT_C_LOOP 1
#define ENABLE_DFG_JIT 0
#endif
/* Do a sanity check to make sure that we at least have one execution engine in
use: */
#if !(ENABLE(JIT) || ENABLE(LLINT))
#error You have to have at least one execution model enabled to build JSC
#endif
/* Configure the JIT */
#if CPU(X86) && COMPILER(MSVC)
#define JSC_HOST_CALL __fastcall
......
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