diff --git a/src/compiler/operator-properties-inl.h b/src/compiler/operator-properties-inl.h index 2ff5e91a1f..40534f7586 100644 --- a/src/compiler/operator-properties-inl.h +++ b/src/compiler/operator-properties-inl.h @@ -115,7 +115,7 @@ inline int OperatorProperties::GetControlInputCount(const Operator* op) { #define OPCODE_CASE(x) case IrOpcode::k##x: CONTROL_OP_LIST(OPCODE_CASE) #undef OPCODE_CASE - return reinterpret_cast(op)->ControlInputCount(); + return static_cast(op)->ControlInputCount(); default: // Operators that have write effects must have a control // dependency. Effect dependencies only ensure the correct order of