Index: src/compiler/register-allocator.cc |
diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc |
index b5dbcaf0edcccd21fabea08608ab8e48e61721fe..6499554db29d103d3f049dc82445b0bf589c02d0 100644 |
--- a/src/compiler/register-allocator.cc |
+++ b/src/compiler/register-allocator.cc |
@@ -533,7 +533,7 @@ BitVector* RegisterAllocator::ComputeLiveOut(const InstructionBlock* block) { |
for (auto succ : block->successors()) { |
// Add values live on entry to the successor. Note the successor's |
// live_in will not be computed yet for backwards edges. |
- BitVector* live_in = live_in_sets_[succ.ToSize()]; |
+ BitVector* live_in = live_in_sets_[static_cast<int>(succ.ToSize())]; |
if (live_in != NULL) live_out->Union(*live_in); |
// All phi input operands corresponding to this successor edge are live |