about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2016-02-24 17:14:03 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2016-02-24 22:04:22 +0200
commit77be4ecc1795787eab4b51b9def35096546122ec (patch)
tree298378970f1eefc214a700d333212d25a9409c26 /src/rustllvm/ArchiveWrapper.cpp
parentfbd817115525b8f11ffe0a301e17341684771369 (diff)
downloadrust-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