[JSC] useJIT should subsume useRegExpJIT
[WebKit-https.git] / Source / JavaScriptCore / runtime / Options.cpp
index 609efab..c65c6db 100644 (file)
@@ -392,16 +392,18 @@ static void recomputeDependentOptions()
 #if !ENABLE(JIT)
     Options::useLLInt() = true;
     Options::useJIT() = false;
+    Options::useBaselineJIT() = false;
     Options::useDFGJIT() = false;
     Options::useFTLJIT() = false;
     Options::useDOMJIT() = false;
-#endif
-#if !ENABLE(YARR_JIT)
     Options::useRegExpJIT() = false;
 #endif
 #if !ENABLE(CONCURRENT_JS)
     Options::useConcurrentJIT() = false;
 #endif
+#if !ENABLE(YARR_JIT)
+    Options::useRegExpJIT() = false;
+#endif
 #if !ENABLE(DFG_JIT)
     Options::useDFGJIT() = false;
     Options::useFTLJIT() = false;
@@ -413,12 +415,6 @@ static void recomputeDependentOptions()
 #if !CPU(X86_64) && !CPU(ARM64)
     Options::useConcurrentGC() = false;
 #endif
-    
-#if ENABLE(JIT) && CPU(X86)
-    // Disable JIT on IA-32 if SSE2 is not present
-    if (!MacroAssemblerX86::supportsFloatingPoint())
-        Options::useJIT() = false;
-#endif
 
     if (!Options::useJIT()) {
         Options::useSigillCrashAnalyzer() = false;