Revision: 16738
Author:   [email protected]
Date:     Mon Sep 16 15:19:41 2013 UTC
Log:      HeapProfiler: compile fix for win x64.

BUG=none
[email protected]

Review URL: https://codereview.chromium.org/24178003
http://code.google.com/p/v8/source/detail?r=16738

Modified:
 /branches/bleeding_edge/src/heap-snapshot-generator.cc

=======================================
--- /branches/bleeding_edge/src/heap-snapshot-generator.cc Mon Sep 16 13:13:42 2013 UTC +++ /branches/bleeding_edge/src/heap-snapshot-generator.cc Mon Sep 16 15:19:41 2013 UTC
@@ -2698,8 +2698,8 @@
   for (HashMap::Entry* entry = strings_.Start();
        entry != NULL;
        entry = strings_.Next(entry)) {
-    sorted_strings[reinterpret_cast<uintptr_t>(entry->value)] =
-        reinterpret_cast<const unsigned char*>(entry->key);
+ int index = static_cast<int>(reinterpret_cast<uintptr_t>(entry->value)); + sorted_strings[index] = reinterpret_cast<const unsigned char*>(entry->key);
   }
   writer_->AddString("\"<dummy>\"");
   for (int i = 1; i < sorted_strings.length(); ++i) {

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to