diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-12-09 16:28:54 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-12-09 18:16:38 +0100 |
| commit | fbc3f11fc18a626ba9b9f6bc52de4fc5ef75154b (patch) | |
| tree | dc4bed62f9b5e72c0d973211cb66b574ffe60377 /src/test/run-pass/thinlto | |
| parent | dedd9850841f20880b6318ce9cbe60e2b205b6a9 (diff) | |
| download | rust-fbc3f11fc18a626ba9b9f6bc52de4fc5ef75154b.tar.gz rust-fbc3f11fc18a626ba9b9f6bc52de4fc5ef75154b.zip | |
mir: Reinstate while loop in deaggregator pass
A previous commit must have removed the `while let` loop here by mistake; for each basic block, it should find and deaggregate multiple statements in their index order, and the `curr` index tracks the progress through the block. This fixes both the case of deaggregating statements in separate basic blocks (preserving `curr` could prevent that) as well as multiple times in the same block (missing loop prevented that).
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
