Index: src/compiler/register-allocator-verifier.cc |
diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc |
index 45bf5ecc5f3476b047750d865bb1d27292a794b9..434e965bf3217d6b265957afa076015a06f93130 100644 |
--- a/src/compiler/register-allocator-verifier.cc |
+++ b/src/compiler/register-allocator-verifier.cc |
@@ -61,8 +61,7 @@ RegisterAllocatorVerifier::RegisterAllocatorVerifier( |
// kSameAsFirst along the way. |
for (const auto* instr : sequence->instructions()) { |
const size_t operand_count = OperandCount(instr); |
- auto* op_constraints = |
- zone->NewArray<OperandConstraint>(static_cast<int>(operand_count)); |
+ auto* op_constraints = zone->NewArray<OperandConstraint>(operand_count); |
size_t count = 0; |
for (size_t i = 0; i < instr->InputCount(); ++i, ++count) { |
BuildConstraint(instr->InputAt(i), &op_constraints[count]); |