summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/jsc.cpp
diff options
context:
space:
mode:
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>.