Reviewers: Vyacheslav Egorov,

Description:
Fix x64 compilation error in r4673.

Please review this at http://codereview.chromium.org/2129010/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/profile-generator.cc


Index: src/profile-generator.cc
===================================================================
--- src/profile-generator.cc    (revision 4673)
+++ src/profile-generator.cc    (working copy)
@@ -545,7 +545,7 @@
                                                 false);
   int index;
   if (entry != NULL) {
-    index = reinterpret_cast<int>(entry->value);
+    index = static_cast<int>(reinterpret_cast<intptr_t>(entry->value));
   } else {
     return NULL;
   }


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

Reply via email to