diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2016-02-24 17:14:03 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2016-02-24 22:04:22 +0200 |
| commit | 77be4ecc1795787eab4b51b9def35096546122ec (patch) | |
| tree | 298378970f1eefc214a700d333212d25a9409c26 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | fbd817115525b8f11ffe0a301e17341684771369 (diff) | |
| download | rust-77be4ecc1795787eab4b51b9def35096546122ec.tar.gz rust-77be4ecc1795787eab4b51b9def35096546122ec.zip | |
Make list of statements flat
In MIR we previously tried to match `let x in { exprs; let y in { exprs; }}` with our data
structures which is rather unwieldy, espeicially because it requires some sort of recursion or
stack to process, while, a flat list of statements is enough – lets only relinquish their lifetime
at the end of the block (i.e. end of the list).
Also fixes #31853.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
