Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 74a0d3fb3ca918f83f56082b816b86df4bc44d68..34195707e47f131b8426db239d7d99f50ca13f5f 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -330,10 +330,10 @@ static BasicBlock::RpoNumber GetLoopEndRpo(const BasicBlock* block) { |
InstructionBlock::InstructionBlock(Zone* zone, const BasicBlock* block) |
- : successors_(block->SuccessorCount(), BasicBlock::RpoNumber::Invalid(), |
- zone), |
- predecessors_(block->PredecessorCount(), BasicBlock::RpoNumber::Invalid(), |
- zone), |
+ : successors_(static_cast<int>(block->SuccessorCount()), |
+ BasicBlock::RpoNumber::Invalid(), zone), |
+ predecessors_(static_cast<int>(block->PredecessorCount()), |
+ BasicBlock::RpoNumber::Invalid(), zone), |
phis_(zone), |
rpo_number_(block->GetRpoNumber()), |
loop_header_(GetRpo(block->loop_header())), |