diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2015-09-16 01:26:58 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2015-09-17 15:10:21 +0200 |
| commit | 6def06c973b3aded197789c4b02d20ad378165f8 (patch) | |
| tree | cb4161a969cea235c888535302c30d56be561c1c /src/rustllvm/RustWrapper.cpp | |
| parent | 2d4ae52cbdca96d4dd6d5a009e4a5ef87a279df0 (diff) | |
| download | rust-6def06c973b3aded197789c4b02d20ad378165f8.tar.gz rust-6def06c973b3aded197789c4b02d20ad378165f8.zip | |
Don't create adjustments from a type to itself
Currently, we're generating adjustments, for example, to get from &[u8] to &[u8], which is unneeded and kicks us out of trans_into() into trans() which means an additional stack slot and copy in the unoptimized code.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
