Bug 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking

This commit is contained in:
Jan Beich 2012-09-18 21:35:04 -04:00
Родитель a2f6169aae
Коммит 03d2fe0829
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -1388,11 +1388,6 @@ static int MSCRTReportHook( int aReportType, char *aMessage, int *oReturnValue)
#endif #endif
#if defined(FREEBSD)
// pick up fpsetmask prototype.
#include <ieeefp.h>
#endif
static inline void static inline void
DumpVersion() DumpVersion()
{ {
@ -4135,12 +4130,5 @@ SetupErrorHandling(const char* progname)
// Unbuffer stdout, needed for tinderbox tests. // Unbuffer stdout, needed for tinderbox tests.
setbuf(stdout, 0); 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
} }