Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 04:50:48 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r922 - branches/experimental/www/firefox-nightly/files
Message-ID:  <201208110450.q7B4ompp042961@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Aug 11 04:50:48 2012
New Revision: 922

Log:
(test) don't disable floating-point exceptions anymore

There's either a FreeBSD bug or they need to be disabled on every
platform (or every BSD) so that upstream prevents bitrot.

Deleted:
   branches/experimental/www/firefox-nightly/files/patch-js_src_jsnum.cpp
Modified:
   branches/experimental/www/firefox-nightly/files/patch-content__base__public__nsContentUtils.h

Modified: branches/experimental/www/firefox-nightly/files/patch-content__base__public__nsContentUtils.h
==============================================================================
--- branches/experimental/www/firefox-nightly/files/patch-content__base__public__nsContentUtils.h	Fri Aug 10 06:45:08 2012	(r921)
+++ branches/experimental/www/firefox-nightly/files/patch-content__base__public__nsContentUtils.h	Sat Aug 11 04:50:48 2012	(r922)
@@ -1,11 +1,20 @@
---- content/base/public/nsContentUtils.h.orig	2011-07-07 10:44:49.000000000 +0200
-+++ content/base/public/nsContentUtils.h	2011-07-07 10:46:12.000000000 +0200
-@@ -54,7 +54,7 @@
- //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
- #ifdef __FreeBSD__
+--- content/base/public/nsContentUtils.h~
++++ content/base/public/nsContentUtils.h
+@@ -18,17 +18,6 @@
  #include <ieeefp.h>
+ #endif
+ 
+-//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+-#ifdef __FreeBSD__
+-#include <ieeefp.h>
 -#ifdef __alpha__
-+#if !defined(__amd64__) && !defined(__i386__)
- static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
- #else
- static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
+-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
+-#else
+-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
+-#endif
+-static fp_except_t oldmask = fpsetmask(~allmask);
+-#endif
+-
+ #include "nsAString.h"
+ #include "nsIStatefulFrame.h"
+ #include "nsNodeInfoManager.h"

Deleted: branches/experimental/www/firefox-nightly/files/patch-js_src_jsnum.cpp
==============================================================================
--- branches/experimental/www/firefox-nightly/files/patch-js_src_jsnum.cpp	Sat Aug 11 04:50:48 2012	(r921)
+++ /dev/null	00:00:00 1970	(deleted)
@@ -1,31 +0,0 @@
---- js/src/jsnum.cpp.orig	2010-01-05 22:35:17.000000000 -0500
-+++ js/src/jsnum.cpp	2010-01-11 05:10:19.000000000 -0500
-@@ -49,6 +49,9 @@
- // Avoid warnings about ASSERT being defined by the assembler as well.
- #undef ASSERT
- 
-+#if defined(__FreeBSD__)
-+#include <sys/param.h>
-+#endif
- #ifdef XP_OS2
- #define _PC_53  PC_53
- #define _MCW_EM MCW_EM
-@@ -691,8 +694,18 @@
- 
- #else
- 
-+#if defined(__FreeBSD__)
-+#if __BSD_VISIBLE == 0
-+#error __BSD_VISIBLE is zero, so fedisableexcept is not defined
-+#endif
-+#include <fenv.h>
-+#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT))
-+#else
-+
- #define FIX_FPU() ((void)0)
- 
-+#endif /* defined(__FreeBSD__) && __FreeBSD_version >= 503000 */
-+
- #endif
- 
- JSBool



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208110450.q7B4ompp042961>