diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:10:57 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:10:57 -0700 |
| commit | 010895e4f2cdb369cff18523fb5c7069816e6867 (patch) | |
| tree | ffc1871f366a7c1f7c1c53e66dc43d6e405c3f33 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | c99970783a30c94ac488d7f3bc28127fb1d32650 (diff) | |
| parent | cfe7a8db06f8e42c08ac026754d384cca595ed3e (diff) | |
| download | rust-010895e4f2cdb369cff18523fb5c7069816e6867.tar.gz rust-010895e4f2cdb369cff18523fb5c7069816e6867.zip | |
rollup merge of #23612: dotdash/closure_bloat
For the rust-call ABI, the last function argument is a tuple that gets untupled for the actual call. For bare functions using this ABI, the code has access to the tuple, so we need to tuple the arguments again. But closures can't actually access the tuple. Their arguments map to the elements in the tuple. So what we currently do is to tuple the arguments and then immediately untuple them again, which is pretty useless and we can just omit it.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
