Changeset 127719 in webkit
- Timestamp:
- Sep 6, 2012 3:13:14 AM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r127707 r127719 1 2012-09-06 Mark Lam <mark.lam@apple.com> 2 3 Renamed useYarrJIT() option to useRegExpJIT(). Also fixed regression in 4 which inadvertantly allows the ASM llint to use the baseline JIT when 5 useRegExpJIT() is true. 6 https://bugs.webkit.org/show_bug.cgi?id=95918. 7 8 Reviewed by Geoffrey Garen. 9 10 * runtime/JSGlobalData.cpp: 11 (JSC::enableAssembler): 12 (JSC::JSGlobalData::JSGlobalData): 13 * runtime/JSGlobalData.h: 14 (JSC::JSGlobalData::canUseJIT): 15 (JSC::JSGlobalData::canUseRegExpJIT): 16 (JSGlobalData): 17 * runtime/Options.cpp: 18 (JSC::Options::initialize): 19 * runtime/Options.h: 20 (JSC): 21 1 22 2012-09-06 Patrick Gansterer <paroga@webkit.org> 2 23 -
trunk/Source/JavaScriptCore/runtime/JSGlobalData.cpp
r127554 r127719 101 101 static bool enableAssembler(ExecutableAllocator& executableAllocator) 102 102 { 103 if (!executableAllocator.isValid() || (!Options::useJIT() && !Options::use YarrJIT()))103 if (!executableAllocator.isValid() || (!Options::useJIT() && !Options::useRegExpJIT())) 104 104 return false; 105 105 … … 183 183 #if ENABLE(ASSEMBLER) && (ENABLE(CLASSIC_INTERPRETER) || ENABLE(LLINT)) 184 184 , m_canUseAssembler(enableAssembler(executableAllocator)) 185 , m_canUseJIT(m_canUseAssembler && Options::useJIT()) 186 , m_canUseRegExpJIT(m_canUseAssembler && Options::useRegExpJIT()) 185 187 #endif 186 188 #if ENABLE(GC_VALIDATION) -
trunk/Source/JavaScriptCore/runtime/JSGlobalData.h
r127348 r127719 285 285 bool canUseJIT() { return true; } // jit only 286 286 #else 287 bool canUseJIT() { return m_canUse Assembler; }287 bool canUseJIT() { return m_canUseJIT; } 288 288 #endif 289 289 … … 293 293 bool canUseRegExpJIT() { return true; } // jit only 294 294 #else 295 bool canUseRegExpJIT() { return m_canUse Assembler; }295 bool canUseRegExpJIT() { return m_canUseRegExpJIT; } 296 296 #endif 297 297 … … 442 442 #if ENABLE(ASSEMBLER) && (ENABLE(CLASSIC_INTERPRETER) || ENABLE(LLINT)) 443 443 bool m_canUseAssembler; 444 bool m_canUseJIT; 445 bool m_canUseRegExpJIT; 444 446 #endif 445 447 #if ENABLE(GC_VALIDATION) -
trunk/Source/JavaScriptCore/runtime/Options.cpp
r127554 r127719 144 144 #endif 145 145 #if !ENABLE(YARR_JIT) 146 use YarrJIT() = false;146 useRegExpJIT() = false; 147 147 #endif 148 148 -
trunk/Source/JavaScriptCore/runtime/Options.h
r127554 r127719 66 66 v(bool, useJIT, true) \ 67 67 v(bool, useDFGJIT, true) \ 68 v(bool, use YarrJIT, true) \68 v(bool, useRegExpJIT, true) \ 69 69 \ 70 70 /* showDisassembly implies showDFGDisassembly. */ \
Note: See TracChangeset
for help on using the changeset viewer.