Revision: 10529
Author:   [email protected]
Date:     Fri Jan 27 04:36:13 2012
Log:      Build fix for Win64 bot after r10528.

BUG=none
TEST=none
TBR=mnaganov

Review URL: https://chromiumcodereview.appspot.com/9297014
http://code.google.com/p/v8/source/detail?r=10529

Modified:
 /branches/bleeding_edge/src/profile-generator.cc

=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Fri Jan 27 04:02:57 2012 +++ /branches/bleeding_edge/src/profile-generator.cc Fri Jan 27 04:36:13 2012
@@ -2816,7 +2816,7 @@
  public:
   explicit NativeGroupRetainedObjectInfo(const char* label)
       : disposed_(false),
-        hash_(reinterpret_cast<intptr_t>(label)),
+        hash_(reinterpret_cast<int>(label)),
         label_(label) {
   }

@@ -2841,7 +2841,8 @@
 NativeGroupRetainedObjectInfo* NativeObjectsExplorer::FindOrAddGroupInfo(
     const char* label) {
   const char* label_copy = collection_->names()->GetCopy(label);
-  intptr_t hash = HashSequentialString(label_copy, strlen(label_copy),
+  uint32_t hash = HashSequentialString(label_copy,
+ static_cast<int>(strlen(label_copy)),
                                        HEAP->HashSeed());
HashMap::Entry* entry = native_groups_.Lookup(const_cast<char*>(label_copy),
                                                 hash, true);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to