Blame SOURCES/webkit-1.11.2-Double2Ints.patch

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