Index: src/compiler/register-allocator.cc |
diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc |
index 0d53c06f58373a050e879b3e999b98571065546f..1de5773e7fefb59064bc83633bb231e430b008ce 100644 |
--- a/src/compiler/register-allocator.cc |
+++ b/src/compiler/register-allocator.cc |
@@ -1514,7 +1514,7 @@ class LiveRangeBoundArray { |
void Initialize(Zone* zone, const LiveRange* const range) { |
size_t length = 0; |
for (auto i = range; i != nullptr; i = i->next()) length++; |
- start_ = zone->NewArray<LiveRangeBound>(static_cast<int>(length)); |
+ start_ = zone->NewArray<LiveRangeBound>(length); |
length_ = length; |
auto curr = start_; |
for (auto i = range; i != nullptr; i = i->next(), ++curr) { |