about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-09 16:28:54 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-09 18:16:38 +0100
commitfbc3f11fc18a626ba9b9f6bc52de4fc5ef75154b (patch)
treedc4bed62f9b5e72c0d973211cb66b574ffe60377 /src/test/run-pass/thinlto
parentdedd9850841f20880b6318ce9cbe60e2b205b6a9 (diff)
downloadrust-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