diff options
| author | bors <bors@rust-lang.org> | 2016-01-15 19:44:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-15 19:44:33 +0000 |
| commit | f4befa6712487141610b2a3618384a238b8a4409 (patch) | |
| tree | cd7f9b7328b367f55cc928225bd83d54e66797fc /src/rustllvm/RustWrapper.cpp | |
| parent | dd51c3a7c1f69a2160da914d1f308916263b7044 (diff) | |
| parent | 7d6da8e4216544aa5dc33f7079789a69484e730c (diff) | |
| download | rust-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
