Commit c5052399 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix 64 bit build. TBR=ager.

Review URL: http://codereview.chromium.org/442003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3361 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 10e183d3
...@@ -55,7 +55,7 @@ class SerializationAddressMapper { ...@@ -55,7 +55,7 @@ class SerializationAddressMapper {
static int MappedTo(HeapObject* obj) { static int MappedTo(HeapObject* obj) {
ASSERT(IsMapped(obj)); ASSERT(IsMapped(obj));
return reinterpret_cast<int>(serialization_map_->Lookup(Key(obj), return reinterpret_cast<intptr_t>(serialization_map_->Lookup(Key(obj),
Hash(obj), Hash(obj),
false)->value); false)->value);
} }
...@@ -81,7 +81,7 @@ class SerializationAddressMapper { ...@@ -81,7 +81,7 @@ class SerializationAddressMapper {
} }
static uint32_t Hash(HeapObject* obj) { static uint32_t Hash(HeapObject* obj) {
return reinterpret_cast<uint32_t>(obj->address()); return reinterpret_cast<intptr_t>(obj->address());
} }
static void* Key(HeapObject* obj) { static void* Key(HeapObject* obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment