Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index 1b514a6cf456ab2b8514241705aefb09d967a0ec..59a01406910c558c16f03d8d90666dfbd6a010f5 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -1032,8 +1032,8 @@ void Scheduler::ComputeSpecialRPONumbering() { |
void Scheduler::PropagateImmediateDominators(BasicBlock* block) { |
for (/*nop*/; block != NULL; block = block->rpo_next()) { |
- BasicBlock::Predecessors::iterator pred = block->predecessors_begin(); |
- BasicBlock::Predecessors::iterator end = block->predecessors_end(); |
+ auto pred = block->predecessors().begin(); |
+ auto end = block->predecessors().end(); |
DCHECK(pred != end); // All blocks except start have predecessors. |
BasicBlock* dominator = *pred; |
// For multiple predecessors, walk up the dominator tree until a common |