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,9 +55,9 @@ class SerializationAddressMapper {
static int MappedTo(HeapObject* obj) {
ASSERT(IsMapped(obj));
return reinterpret_cast<int>(serialization_map_->Lookup(Key(obj),
Hash(obj),
false)->value);
return reinterpret_cast<intptr_t>(serialization_map_->Lookup(Key(obj),
Hash(obj),
false)->value);
}
static void Map(HeapObject* obj, int to) {
......@@ -81,7 +81,7 @@ class SerializationAddressMapper {
}
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) {
......
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