Changeset 127554 in webkit
- Timestamp:
- Sep 4, 2012 10:12:26 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r127544 r127554 1 2012-09-04 Mark Lam <mark.lam@apple.com> 2 3 Allow the YarrJIT to use the assembler even when useJIT() is false. 4 Introduce the useYarrJIT() option. 5 https://bugs.webkit.org/show_bug.cgi?id=95809. 6 7 Reviewed by Geoffrey Garen. 8 9 * runtime/JSGlobalData.cpp: 10 (JSC::enableAssembler): 11 * runtime/Options.cpp: 12 (JSC::Options::initialize): 13 * runtime/Options.h: 14 (JSC): 15 1 16 2012-09-04 Gavin Barraclough <barraclough@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/JSGlobalData.cpp
r127505 r127554 101 101 static bool enableAssembler(ExecutableAllocator& executableAllocator) 102 102 { 103 if (!executableAllocator.isValid() || !Options::useJIT())103 if (!executableAllocator.isValid() || (!Options::useJIT() && !Options::useYarrJIT())) 104 104 return false; 105 105 -
trunk/Source/JavaScriptCore/runtime/Options.cpp
r127374 r127554 139 139 #endif 140 140 141 #if ENABLE(LLINT_C_LOOP)141 #if !ENABLE(JIT) 142 142 useJIT() = false; 143 143 useDFGJIT() = false; 144 #endif 145 #if !ENABLE(YARR_JIT) 146 useYarrJIT() = false; 144 147 #endif 145 148 -
trunk/Source/JavaScriptCore/runtime/Options.h
r124404 r127554 66 66 v(bool, useJIT, true) \ 67 67 v(bool, useDFGJIT, true) \ 68 v(bool, useYarrJIT, true) \ 68 69 \ 69 70 /* showDisassembly implies showDFGDisassembly. */ \
Note: See TracChangeset
for help on using the changeset viewer.