Blame SOURCES/webkit-1.11.2-Double2Ints.patch

2b8e7b
diff -up webkitgtk-1.11.90/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.double2ints webkitgtk-1.11.90/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
2b8e7b
--- webkitgtk-1.11.90/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.double2ints	2013-02-12 17:22:38.000000000 +0100
2b8e7b
+++ webkitgtk-1.11.90/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp	2013-03-07 18:04:39.778807991 +0100
2b8e7b
@@ -117,6 +118,17 @@ static double Ints2Double(uint32_t lo, u
2b8e7b
     u.ival64 = (static_cast<uint64_t>(hi) << 32) | lo;
2b8e7b
     return u.dval;
2b8e7b
 }
2b8e7b
+
2b8e7b
+static void Double2Ints(double input, intptr_t& lo, intptr_t& hi)
2b8e7b
+{
2b8e7b
+    union {
2b8e7b
+        double dval;
2b8e7b
+        int64_t ival64;
2b8e7b
+    } u;
2b8e7b
+    u.dval = input;
2b8e7b
+    hi = static_cast<intptr_t>(u.ival64 >> 32);
2b8e7b
+    lo = static_cast<intptr_t>(u.ival64);
2b8e7b
+}
2b8e7b
 #endif // USE(JSVALUE32_64)
2b8e7b
 
2b8e7b
 } // namespace LLint