Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index bad87b2fff73c65d44e0fc1bb7f90f08d5e1cca9..927dbef496bacc8b209b418a87997af13d79a109 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -1073,7 +1073,7 @@ void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { |
void CodeGenerator::AssembleArchSwitch(Instruction* instr) { |
X64OperandConverter i(this, instr); |
size_t const label_count = instr->InputCount() - 1; |
- Label** labels = zone()->NewArray<Label*>(static_cast<int>(label_count)); |
+ Label** labels = zone()->NewArray<Label*>(label_count); |
for (size_t index = 0; index < label_count; ++index) { |
labels[index] = GetLabel(i.InputRpo(static_cast<int>(index + 1))); |
} |