about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2014-06-22 15:32:55 +0200
committerAlex Crichton <alex@alexcrichton.com>2014-06-24 17:23:19 -0700
commita0ec902e239b2219edf1a18b036dd32c18d3be42 (patch)
tree63611b35f8f2f40c3f5263429ffbdbc41fdc5273 /src/rustllvm/RustWrapper.cpp
parente4e3550ff6ee1754ea4d7191989044c444bff049 (diff)
downloadrust-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