Differential D9213 Diff 25366 head/www/qt4-webkit/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__runtime__JSValueInlineMethods.h
Changeset View
Changeset View
Standalone View
Standalone View
head/www/qt4-webkit/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__runtime__JSValueInlineMethods.h
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- ./src/3rdparty/webkit/Source/JavaScriptCore/runtime/JSValueInlineMethods.h.orig 2011-12-08 06:06:02.000000000 +0100 | |||||
+++ ./src/3rdparty/webkit/Source/JavaScriptCore/runtime/JSValueInlineMethods.h 2012-01-08 17:18:52.511348683 +0100 | |||||
@@ -227,7 +227,11 @@ | |||||
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 | |||||
@@ -239,7 +243,11 @@ | |||||
u.asBits.tag = CellTag; | |||||
else | |||||
u.asBits.tag = EmptyValueTag; | |||||
+#if defined(__sparc64__) | |||||
+ u.asBits.payload = reinterpret_cast<int64_t>(const_cast<JSCell*>(ptr)); | |||||
+#else | |||||
u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr)); | |||||
+#endif | |||||
#if ENABLE(JSC_ZOMBIES) | |||||
ASSERT(!isZombie()); | |||||
#endif |