Bug 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking
authorJan Beich <jbeich@tormail.org>
Tue, 18 Sep 2012 21:35:04 -0400
changeset 107451 8aaac684782a0a0d70aeec06001a9029705da8a8
parent 107450 486581d229f20c9b16472bc9f5633a9e452fe9e4
child 107452 a04dc1a6fe29474adf15829b98b15afdaf1f36fe
push id23486
push usergraememcc_firefox@graeme-online.co.uk
push dateWed, 19 Sep 2012 14:18:40 +0000
treeherdermozilla-central@0c8ac138706e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs789436
milestone18.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 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -1383,21 +1383,16 @@ static int MSCRTReportHook( int aReportT
   }
 
   // do not invoke the debugger
   return 1;
 }
 
 #endif
 
-#if defined(FREEBSD)
-// pick up fpsetmask prototype.
-#include <ieeefp.h>
-#endif
-
 static inline void
 DumpVersion()
 {
   printf("%s %s %s", 
          gAppData->vendor ? gAppData->vendor : "", gAppData->name, gAppData->version);
   if (gAppData->copyright)
       printf(", %s", gAppData->copyright);
   printf("\n");
@@ -4130,17 +4125,10 @@ SetupErrorHandling(const char* progname)
 #endif
 
 #ifndef XP_OS2
   InstallSignalHandlers(progname);
 #endif
 
   // Unbuffer stdout, needed for tinderbox tests.
   setbuf(stdout, 0);
-
-#if defined(FREEBSD)
-  // Disable all SIGFPE's on FreeBSD, as it has non-IEEE-conformant fp
-  // trap behavior that trips up on floating-point tests performed by
-  // the JS engine.  See bugzilla bug 9967 details.
-  fpsetmask(0);
-#endif
 }