Use static_cast instead of reinterpret_cast
BUG= R=rossberg@chromium.org Review URL: https://codereview.chromium.org/18899003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
762157d697
commit
01b4c2831e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user