summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/jsc.cpp
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2020-02-29 03:36:32 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2020-03-02 15:49:34 +0300
commit4351bcf3a4044ec08937434e814470322545641c (patch)
treee4c202746e4bb30b37def2f80bfcc338792ca1f7 /Source/JavaScriptCore/jsc.cpp
parentbe8798cf5aef981028cccab88b3b03576986389e (diff)
downloadqtwebkit-4351bcf3a4044ec08937434e814470322545641c.tar.gz
Import QtWebKit commit 3e299f5a501465c9d986c4daaf6fb82f52d4cd20
Change-Id: I824dea42f8cb17c1b587e55fc80a05fc917e39f2 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/JavaScriptCore/jsc.cpp')
-rw-r--r--Source/JavaScriptCore/jsc.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/JavaScriptCore/jsc.cpp b/Source/JavaScriptCore/jsc.cpp
index c0a84fc5f..2bdb953e2 100644
--- a/Source/JavaScriptCore/jsc.cpp
+++ b/Source/JavaScriptCore/jsc.cpp
@@ -1714,14 +1714,7 @@ int main(int argc, char** argv)
fesetenv( &env );
#endif
-#if OS(WINDOWS) && (defined(_M_X64) || defined(__x86_64__))
- // The VS2013 runtime has a bug where it mis-detects AVX-capable processors
- // if the feature has been disabled in firmware. This causes us to crash
- // in some of the math functions. For now, we disable those optimizations
- // because Microsoft is not going to fix the problem in VS2013.
- // FIXME: http://webkit.org/b/141449: Remove this workaround when we switch to VS2015+.
- _set_FMA3_enable(0);
-
+#if OS(WINDOWS)
// Cygwin calls ::SetErrorMode(SEM_FAILCRITICALERRORS), which we will inherit. This is bad for
// testing/debugging, as it causes the post-mortem debugger not to be invoked. We reset the
// error mode here to work around Cygwin's behavior. See <http://webkit.org/b/55222>.