about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-08-03 12:35:33 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-08-03 15:03:58 +0200
commita51e3e46effc07f5e7ce5a698ddc8be65244b3a5 (patch)
treef42224d47438ebcf99894a3ecae2e943a1958608 /src/rt/rust_stack.cpp
parent2765811cb6530eb73c5450bd25e915e67bd512cf (diff)
downloadrust-a51e3e46effc07f5e7ce5a698ddc8be65244b3a5.tar.gz
rust-a51e3e46effc07f5e7ce5a698ddc8be65244b3a5.zip
trans_arg_expr: Omit extra copies for rvalues
rvalues aren't going to be used anywhere but as the argument, so
there's no point in copying them. LLVM used to eliminate the copy
later, but why bother emitting it in the first place?
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions