Make add_incoming_to_phi call slightly less confusing.
This commit is contained in:
parent
2bda3b7acb
commit
63a0d85457
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ pub fn slice_for_each<'a, 'tcx, F>(
|
|||
|
||||
f(&body_bcx, if zst { data_ptr } else { current });
|
||||
let next = add(&body_bcx, current, C_uint(bcx.ccx(), 1usize));
|
||||
body_bcx.add_incoming_to_phi(current, next, body_bcx.llbb());
|
||||
header_bcx.add_incoming_to_phi(current, next, body_bcx.llbb());
|
||||
body_bcx.br(header_bcx.llbb());
|
||||
next_bcx
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue