Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (94519 => 94520)
--- trunk/Source/_javascript_Core/ChangeLog 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-09-05 09:41:26 UTC (rev 94520)
@@ -1,3 +1,20 @@
+2011-09-05 Patrick Gansterer <[email protected]>
+
+ Unreviewed build fix for r94452.
+
+ Add config.h as the first header to the cc files as required by the coding style.
+ Reuse macros from Assertions.h instead of adding addional #ifdefs.
+
+ * wtf/dtoa/bignum-dtoa.cc:
+ * wtf/dtoa/bignum.cc:
+ * wtf/dtoa/cached-powers.cc:
+ * wtf/dtoa/diy-fp.cc:
+ * wtf/dtoa/double-conversion.cc:
+ * wtf/dtoa/fast-dtoa.cc:
+ * wtf/dtoa/fixed-dtoa.cc:
+ * wtf/dtoa/strtod.cc:
+ * wtf/dtoa/utils.h:
+
2011-09-05 Andras Becsi <[email protected]>
[Qt][WK2] Fix the build
Modified: trunk/Source/_javascript_Core/wtf/dtoa/bignum-dtoa.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/bignum-dtoa.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/bignum-dtoa.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include <math.h>
#include "bignum-dtoa.h"
Modified: trunk/Source/_javascript_Core/wtf/dtoa/bignum.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/bignum.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/bignum.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include "bignum.h"
#include "utils.h"
Modified: trunk/Source/_javascript_Core/wtf/dtoa/cached-powers.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/cached-powers.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/cached-powers.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include <stdarg.h>
#include <limits.h>
#include <math.h>
Modified: trunk/Source/_javascript_Core/wtf/dtoa/diy-fp.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/diy-fp.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/diy-fp.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
#include "diy-fp.h"
#include "utils.h"
Modified: trunk/Source/_javascript_Core/wtf/dtoa/double-conversion.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/double-conversion.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/double-conversion.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include <limits.h>
#include <math.h>
Modified: trunk/Source/_javascript_Core/wtf/dtoa/fast-dtoa.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/fast-dtoa.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/fast-dtoa.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include "fast-dtoa.h"
#include "cached-powers.h"
Modified: trunk/Source/_javascript_Core/wtf/dtoa/fixed-dtoa.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/fixed-dtoa.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/fixed-dtoa.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include <math.h>
#include "UnusedParam.h"
Modified: trunk/Source/_javascript_Core/wtf/dtoa/strtod.cc (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/strtod.cc 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/strtod.cc 2011-09-05 09:41:26 UTC (rev 94520)
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
+
#include <stdarg.h>
#include <limits.h>
Modified: trunk/Source/_javascript_Core/wtf/dtoa/utils.h (94519 => 94520)
--- trunk/Source/_javascript_Core/wtf/dtoa/utils.h 2011-09-05 08:49:57 UTC (rev 94519)
+++ trunk/Source/_javascript_Core/wtf/dtoa/utils.h 2011-09-05 09:41:26 UTC (rev 94520)
@@ -28,16 +28,12 @@
#ifndef DOUBLE_CONVERSION_UTILS_H_
#define DOUBLE_CONVERSION_UTILS_H_
-#include "Platform.h"
+#include "Assertions.h"
#include <stdlib.h>
#include <string.h>
-#ifndef ASSERT
-#include <assert.h>
-#define ASSERT(condition) (assert(condition))
-#define UNIMPLEMENTED() (abort())
-#define UNREACHABLE() (abort())
-#endif
+#define UNIMPLEMENTED ASSERT_NOT_REACHED
+#define UNREACHABLE ASSERT_NOT_REACHED
// Double operations detection based on target architecture.
// Linux uses a 80bit wide floating point stack on x86. This induces double