Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 105e2550402faba70676a6bc3848f59f17f0ee6e..e8a52a61e12213577b48711ba768ad36ac117252 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1064,7 +1064,7 @@ void InstructionSelector::VisitSwitch(Node* node, BasicBlock** branches, |
Node* const value = node->InputAt(0); |
size_t const input_count = branch_count + 1; |
InstructionOperand* const inputs = |
- zone()->NewArray<InstructionOperand>(static_cast<int>(input_count)); |
+ zone()->NewArray<InstructionOperand>(input_count); |
inputs[0] = g.UseRegister(value); |
for (size_t index = 0; index < branch_count; ++index) { |
inputs[index + 1] = g.Label(branches[index]); |