Bug 1480578 - update double-conversion to bring in ARM/AArch64 Windows support; r=Waldo

This commit is contained in:
Nathan Froyd 2018-08-22 21:01:24 -04:00
parent 57c6f15b04
commit 8b18d41782
2 changed files with 18 additions and 8 deletions

View File

@ -1,9 +1,19 @@
commit 9a8e518bedcf171d99eb1c00eef4beb1ecc20a4b
Merge: ae9ad90 da420c3
Author: Florian Loitsch <floitsch@google.com>
Date: Tue May 22 11:24:13 2018 +0200
commit 4e8b3b553c58d6afa78cc212a80c830812431132
Author: thomaslmiller <41446875+thomaslmiller@users.noreply.github.com>
Date: Thu Aug 2 01:32:25 2018 -0700
Merge pull request #68 from floitschG/static_size_assert
Use `static_assert` with newer compilers.
Add support for Windows on ARM and ARM64 (#76)
diff --git a/double-conversion/utils.h b/double-conversion/utils.h
index 28bb694..98a2a11 100644
--- a/double-conversion/utils.h
+++ b/double-conversion/utils.h
@@ -68,7 +68,7 @@ inline void abort_noreturn() { abort(); }
// disabled.)
// On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
#if defined(_M_X64) || defined(__x86_64__) || \
- defined(__ARMEL__) || defined(__avr32__) || \
+ defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
defined(__hppa__) || defined(__ia64__) || \
defined(__mips__) || \
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \

View File

@ -68,7 +68,7 @@ inline void abort_noreturn() { MOZ_CRASH(); }
// disabled.)
// On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
#if defined(_M_X64) || defined(__x86_64__) || \
defined(__ARMEL__) || defined(__avr32__) || \
defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
defined(__hppa__) || defined(__ia64__) || \
defined(__mips__) || \
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \