Index: src/compiler/value-numbering-reducer.cc |
diff --git a/src/compiler/value-numbering-reducer.cc b/src/compiler/value-numbering-reducer.cc |
index 5e924d7a303434fd6ddaee4e3e0870d8c78cbf1f..555570d220a73d6e83ae977768ab4432ed511cc0 100644 |
--- a/src/compiler/value-numbering-reducer.cc |
+++ b/src/compiler/value-numbering-reducer.cc |
@@ -135,7 +135,7 @@ void ValueNumberingReducer::Grow() { |
Node** const old_entries = entries_; |
size_t const old_capacity = capacity_; |
capacity_ *= kCapacityToSizeRatio; |
- entries_ = zone()->NewArray<Node*>(static_cast<int>(capacity_)); |
+ entries_ = zone()->NewArray<Node*>(capacity_); |
memset(entries_, 0, sizeof(*entries_) * capacity_); |
size_ = 0; |
size_t const mask = capacity_ - 1; |