diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-19 07:16:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-30 09:31:10 +0000 |
commit | d107016d376bfce4e6b70fcc06efb18e1a9899f3 (patch) | |
tree | 478cdf34586ccf2708f3995c4b02726207334788 /js/src | |
parent | 63371593c0ecb7bb5039873ebfd56e0bc6179143 (diff) | |
download | UXP-d107016d376bfce4e6b70fcc06efb18e1a9899f3.tar UXP-d107016d376bfce4e6b70fcc06efb18e1a9899f3.tar.gz UXP-d107016d376bfce4e6b70fcc06efb18e1a9899f3.tar.lz UXP-d107016d376bfce4e6b70fcc06efb18e1a9899f3.tar.xz UXP-d107016d376bfce4e6b70fcc06efb18e1a9899f3.zip |
[js] Reinstate precise floating point model for all js sources.
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/moz.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/moz.build b/js/src/moz.build index c0cef9929..3e6402f71 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -687,8 +687,8 @@ if CONFIG['_MSC_VER']: elif CONFIG['CPU_ARCH'] == 'x86_64' and CONFIG['JS_HAS_CTYPES']: SOURCES['ctypes/CTypes.cpp'].no_pgo = True # Bug 810661 # Prevent floating point errors caused by VC++ optimizations - # XXX We should add this to CXXFLAGS, too? CFLAGS += ['-fp:precise'] + CXXFLAGS += ['-fp:precise'] # C4805 warns mixing bool with other integral types in computation. # But given the conversion from bool is specified, and this is a # pattern widely used in code in js/src, suppress this warning here. |