Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index fc1df1ecb601f85587e2fb8792d2918783902409..562f77d1445d9385eff6ccc2d0bf8c732940f030 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -80,8 +80,7 @@ void RawMachineAssembler::Switch(Node* index, Label** succ_labels, |
size_t succ_count) { |
DCHECK_NE(schedule()->end(), current_block_); |
Node* sw = NewNode(common()->Switch(succ_count), index); |
- BasicBlock** succ_blocks = |
- zone()->NewArray<BasicBlock*>(static_cast<int>(succ_count)); |
+ BasicBlock** succ_blocks = zone()->NewArray<BasicBlock*>(succ_count); |
for (size_t index = 0; index < succ_count; ++index) { |
succ_blocks[index] = Use(succ_labels[index]); |
} |