Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai
authorAndrey Mukamolow <fobo66@protonmail.com>
Sun, 05 Feb 2017 03:09:23 +0300
changeset 394028 f9cc96d0a27a659a90e153051010e0d5436d7a2b
parent 394027 e6332dc0a1837295e549629bf5f2ab1a50cba00b
child 394029 bcb3bb41c374eaa64fd64d651148b59b70acf377
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1331954
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai There was some incorrect error handling in file dtoa.c, I just put forgotten #error directive MozReview-Commit-ID: 2zzwI0YAFpI
js/src/dtoa.c
--- a/js/src/dtoa.c
+++ b/js/src/dtoa.c
@@ -248,17 +248,17 @@ extern void *MALLOC(size_t);
 #ifdef KR_headers
 #define CONST /* blank */
 #else
 #define CONST const
 #endif
 #endif
 
 #if defined(IEEE_8087) + defined(IEEE_MC68k) + defined(VAX) + defined(IBM) != 1
-Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined.
+#error "Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined."
 #endif
 
 typedef union { double d; ULong L[2]; } U;
 
 #define dval(x) ((x).d)
 #ifdef IEEE_8087
 #define word0(x) ((x).L[1])
 #define word1(x) ((x).L[0])