1
Fork 0

Change Successors to impl Iterator<Item = BasicBlock>

This commit is contained in:
SparrowLii 2022-05-17 08:41:01 +08:00
parent 56d540e057
commit 38bf1158bd
18 changed files with 54 additions and 55 deletions

View file

@ -450,7 +450,7 @@ impl<'tcx> Inliner<'tcx> {
}
if !is_drop {
for &succ in term.successors() {
for succ in term.successors() {
work_list.push(succ);
}
}