Revision: 23685
Author: [email protected]
Date: Thu Sep 4 10:58:20 2014 UTC
Log: Fix invalid reinterpret_cast.
[email protected]
Review URL: https://codereview.chromium.org/544583002
https://code.google.com/p/v8/source/detail?r=23685
Modified:
/branches/bleeding_edge/src/compiler/operator-properties-inl.h
=======================================
--- /branches/bleeding_edge/src/compiler/operator-properties-inl.h Thu Sep
4 09:37:25 2014 UTC
+++ /branches/bleeding_edge/src/compiler/operator-properties-inl.h Thu Sep
4 10:58:20 2014 UTC
@@ -115,7 +115,7 @@
#define OPCODE_CASE(x) case IrOpcode::k##x:
CONTROL_OP_LIST(OPCODE_CASE)
#undef OPCODE_CASE
- return reinterpret_cast<const
ControlOperator*>(op)->ControlInputCount();
+ return static_cast<const ControlOperator*>(op)->ControlInputCount();
default:
// Operators that have write effects must have a control
// dependency. Effect dependencies only ensure the correct order of
--
--
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/d/optout.