mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
[js] Reinstate precise floating point model for all js sources.
This commit is contained in:
parent
10fa2b4e32
commit
9b260e75cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue