summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h')
-rw-r--r--www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h b/www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h
new file mode 100644
index 000000000..9c32953b9
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-JavaScriptCore-runtime_JSValue.h
@@ -0,0 +1,14 @@
+--- JavaScriptCore/runtime/JSValue.h.orig 2010-02-05 17:26:52.000000000 +0100
++++ JavaScriptCore/runtime/JSValue.h 2010-03-25 21:43:11.000000000 +0100
+@@ -491,7 +491,11 @@ namespace JSC {
+ u.asBits.tag = CellTag;
+ else
+ u.asBits.tag = EmptyValueTag;
++#if defined(__sparc64)
++ u.asBits.payload = reinterpret_cast<int64_t>(ptr);
++#else
+ u.asBits.payload = reinterpret_cast<int32_t>(ptr);
++#endif
+ #if ENABLE(JSC_ZOMBIES)
+ ASSERT(!isZombie());
+ #endif