about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-02 02:10:51 +0000
committerbors <bors@rust-lang.org>2018-05-02 02:10:51 +0000
commita2726846f6d6280b752019472b6bd791c0752006 (patch)
tree4f3559ebd370c2e5660c25283efd63f771e126d8 /src/test/incremental/thinlto
parent5a662bff7ae1d84526c62aebead76f5079f6aee4 (diff)
parentf0f26b875a1ae3c5d7aad4ce865bf311169cc2a9 (diff)
downloadrust-a2726846f6d6280b752019472b6bd791c0752006.tar.gz
rust-a2726846f6d6280b752019472b6bd791c0752006.zip
Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis
rustc: return iterators from Terminator(Kind)::successors(_mut).

Minor cleanup (and potentially speedup) prompted by @nnethercote's `SmallVec` experiments.
This PR assumes `.count()` and `.nth(i)` on `iter::Chain<option::IntoIter, slice::Iter(Mut)>` are `O(1)`, but otherwise all of the uses appear to immediately iterate through the successors.

r? @nikomatsakis
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions