Changeset 108020 in webkit for trunk/Source/JavaScriptCore/wtf
- Timestamp:
- Feb 16, 2012, 8:10:00 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore/wtf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp
r105918 r108020 103 103 result = mmap(result, bytes, protection, flags, fd, 0); 104 104 if (result == MAP_FAILED) { 105 #if ENABLE( INTERPRETER)105 #if ENABLE(CLASSIC_INTERPRETER) 106 106 if (executable) 107 107 result = 0; -
trunk/Source/JavaScriptCore/wtf/Platform.h
r107678 r108020 598 598 599 599 #if PLATFORM(IOS_SIMULATOR) 600 #define ENABLE_ INTERPRETER 1600 #define ENABLE_CLASSIC_INTERPRETER 1 601 601 #define ENABLE_JIT 0 602 602 #define ENABLE_YARR_JIT 0 603 603 #else 604 #define ENABLE_ INTERPRETER 1604 #define ENABLE_CLASSIC_INTERPRETER 1 605 605 #define ENABLE_JIT 1 606 606 #define ENABLE_YARR_JIT 1 … … 957 957 958 958 /* Ensure that either the JIT or the interpreter has been enabled. */ 959 #if !defined(ENABLE_ INTERPRETER) && !ENABLE(JIT)960 #define ENABLE_ INTERPRETER 1961 #endif 962 #if !(ENABLE(JIT) || ENABLE( INTERPRETER))959 #if !defined(ENABLE_CLASSIC_INTERPRETER) && !ENABLE(JIT) 960 #define ENABLE_CLASSIC_INTERPRETER 1 961 #endif 962 #if !(ENABLE(JIT) || ENABLE(CLASSIC_INTERPRETER)) 963 963 #error You have to have at least one execution model enabled to build JSC 964 964 #endif … … 993 993 #define HAVE_COMPUTED_GOTO 1 994 994 #endif 995 #if HAVE(COMPUTED_GOTO) && ENABLE( INTERPRETER)996 #define ENABLE_COMPUTED_GOTO_ INTERPRETER 1995 #if HAVE(COMPUTED_GOTO) && ENABLE(CLASSIC_INTERPRETER) 996 #define ENABLE_COMPUTED_GOTO_CLASSIC_INTERPRETER 1 997 997 #endif 998 998
Note:
See TracChangeset
for help on using the changeset viewer.