about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-15 19:44:33 +0000
committerbors <bors@rust-lang.org>2016-01-15 19:44:33 +0000
commitf4befa6712487141610b2a3618384a238b8a4409 (patch)
treecd7f9b7328b367f55cc928225bd83d54e66797fc /src/rustllvm/RustWrapper.cpp
parentdd51c3a7c1f69a2160da914d1f308916263b7044 (diff)
parent7d6da8e4216544aa5dc33f7079789a69484e730c (diff)
downloadrust-f4befa6712487141610b2a3618384a238b8a4409.tar.gz
rust-f4befa6712487141610b2a3618384a238b8a4409.zip
Auto merge of #30890 - nagisa:mir-tuple-adts, r=nikomatsakis
This PR changes translation of tuple-like ADTs from being calls to being proper aggregates. This change is done in hope to make code generation better. Namely, now we can avoid:

1. Call overhead;
2. Generating landingpads in presence of cleanups (we know for sure constructing ADTs can’t panic);
3. And probably much more, gaining better MIR introspectablilty.

Along with that a few serious deficiencies with translation of ADTs and switches have been fixed as well (commits 2 and 3).

r? @nikomatsakis
cc @tsion
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions