Bug 515551 - FIX_FPU should depend on __i386__ not __i486__, r=brendan.
authorGraydon Hoare <graydon@mozilla.com>
Wed, 09 Sep 2009 20:09:50 -0700
changeset 32728 6599bfa8ea119037d8f95136a6b340825b1d8a2e
parent 32727 cbb2bdb22a2258f64bca4ce3ca2d1a5234e7aed8
child 32729 c19b0d06d07617685b880a7ba7d7d285feb3cff1
push idunknown
push userunknown
push dateunknown
reviewersbrendan
bugs515551
milestone1.9.3a1pre
Bug 515551 - FIX_FPU should depend on __i386__ not __i486__, r=brendan.
js/src/jsnum.cpp
--- a/js/src/jsnum.cpp
+++ b/js/src/jsnum.cpp
@@ -640,17 +640,17 @@ static JSConstDoubleSpec number_constant
     {1.7976931348623157E+308,   "MAX_VALUE",         0,{0,0,0}},
     {0,                         "MIN_VALUE",         0,{0,0,0}},
     {0,0,0,{0,0,0}}
 };
 
 jsdouble js_NaN;
 
 
-#if (defined __GNUC__ && defined __i486__)
+#if (defined __GNUC__ && defined __i386__)
 
 /*
  * Set the exception mask to mask all exceptions and set the FPU precision
  * to 53 bit mantissa (64 bit doubles).
  */
 inline void FIX_FPU() {
     short control;
     asm("fstcw %0" : "=m" (control) : );