diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2014-06-22 15:32:55 +0200 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-24 17:23:19 -0700 |
| commit | a0ec902e239b2219edf1a18b036dd32c18d3be42 (patch) | |
| tree | 63611b35f8f2f40c3f5263429ffbdbc41fdc5273 /src/rustllvm/RustWrapper.cpp | |
| parent | e4e3550ff6ee1754ea4d7191989044c444bff049 (diff) | |
| download | rust-a0ec902e239b2219edf1a18b036dd32c18d3be42.tar.gz rust-a0ec902e239b2219edf1a18b036dd32c18d3be42.zip | |
Avoid unnecessary temporary on assignments
We only need the temporary when the type needs to be dropped, for other types, we can use trans_into to directly place the value into the destination.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
