summaryrefslogtreecommitdiff
blob: 415fdfc3b2a59be298289e1c77988983bdbd3620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From adad38e6096468a22f62a913cd4cc8fb95e698ec Mon Sep 17 00:00:00 2001
From: "commit-queue@webkit.org"
 <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun, 16 Oct 2011 00:54:05 +0000
Subject: [PATCH] The s390 and s390x architectures both use 64-bit double type
 that conforms to the IEEE-754 standard.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

https://bugs.webkit.org/show_bug.cgi?id=69940

Patch by Dan Horák <dan@danny.cz> on 2011-10-15
Reviewed by Gavin Barraclough.

* wtf/dtoa/utils.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
---
 Source/JavaScriptCore/ChangeLog        |   11 +++++++++++
 Source/JavaScriptCore/wtf/dtoa/utils.h |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

Index: webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h
===================================================================
--- webkit-1.6.1.orig/Source/JavaScriptCore/wtf/dtoa/utils.h	2011-10-21 11:44:37.000000000 -0200
+++ webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h	2011-10-21 11:46:41.928885576 -0200
@@ -49,7 +49,7 @@
 defined(__ARMEL__) || \
 defined(_MIPS_ARCH_MIPS32R2)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4)
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
 #elif defined(_M_IX86) || defined(__i386__)
 #if defined(_WIN32)