2010-11-15 14:05:44 +01:00
|
|
|
$NetBSD: patch-au,v 1.5 2010/11/15 13:05:45 adam Exp $
|
2010-01-29 19:19:09 +01:00
|
|
|
|
2010-11-15 14:05:44 +01:00
|
|
|
--- src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h.orig 2010-09-10 09:05:24.000000000 +0000
|
2010-01-29 19:19:09 +01:00
|
|
|
+++ src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h
|
2010-11-15 14:05:44 +01:00
|
|
|
@@ -491,7 +491,7 @@ namespace JSC {
|
2010-01-29 19:19:09 +01:00
|
|
|
u.asBits.tag = CellTag;
|
|
|
|
else
|
|
|
|
u.asBits.tag = EmptyValueTag;
|
|
|
|
- u.asBits.payload = reinterpret_cast<int32_t>(ptr);
|
|
|
|
+ u.asBits.payload = reinterpret_cast<intptr_t>(ptr);
|
2010-11-15 14:05:44 +01:00
|
|
|
#if ENABLE(JSC_ZOMBIES)
|
|
|
|
ASSERT(!isZombie());
|
|
|
|
#endif
|
|
|
|
@@ -503,7 +503,7 @@ namespace JSC {
|
2010-01-29 19:19:09 +01:00
|
|
|
u.asBits.tag = CellTag;
|
|
|
|
else
|
|
|
|
u.asBits.tag = EmptyValueTag;
|
|
|
|
- u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr));
|
|
|
|
+ u.asBits.payload = reinterpret_cast<intptr_t>(const_cast<JSCell*>(ptr));
|
2010-11-15 14:05:44 +01:00
|
|
|
#if ENABLE(JSC_ZOMBIES)
|
|
|
|
ASSERT(!isZombie());
|
|
|
|
#endif
|