Reviewers: rossberg,

Message:
dough...

Description:
Use static_cast instead of reinterpret_cast

BUG=

Please review this at https://codereview.chromium.org/18899003/

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

Affected files:
  M src/types.cc


Index: src/types.cc
diff --git a/src/types.cc b/src/types.cc
index e88f9f67c59aa5087894b124cf1e12fbc8be5022..ff96b5a0d53fee65e5e9e6eeca2623d4eab372ff 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -515,9 +515,9 @@ void Type::TypePrint(FILE* out) {
     }
     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