Revision: 15603
Author:   [email protected]
Date:     Wed Jul 10 09:00:08 2013
Log:      Use static_cast instead of reinterpret_cast

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/types.cc

=======================================
--- /branches/bleeding_edge/src/types.cc        Wed Jul 10 05:01:29 2013
+++ /branches/bleeding_edge/src/types.cc        Wed Jul 10 09:00:08 2013
@@ -515,9 +515,9 @@
     }
     PrintF(out, "}");
   } else if (is_constant()) {
-    PrintF(out, "Constant(%p)", reinterpret_cast<void*>(*as_constant()));
+    PrintF(out, "Constant(%p)", static_cast<void*>(*as_constant()));
   } else if (is_class()) {
-    PrintF(out, "Class(%p)", reinterpret_cast<void*>(*as_class()));
+    PrintF(out, "Class(%p)", static_cast<void*>(*as_class()));
   } else if (is_union()) {
     PrintF(out, "{");
     Handle<Unioned> unioned = as_union();

--
--
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