]> git.lizzy.rs Git - rust.git/commit
auto merge of #8262 : dotdash/rust/no_rval_copies, r=pcwalton
authorbors <bors@rust-lang.org>
Sun, 4 Aug 2013 17:55:53 +0000 (10:55 -0700)
committerbors <bors@rust-lang.org>
Sun, 4 Aug 2013 17:55:53 +0000 (10:55 -0700)
commit8495ee52b2d7eb7a3623af37cacb5fc1f6707edf
tree7cff41c2747a036056e972692199fc5bb8a9febd
parent22f9ce4df682cd4dd1203e5ae3d8c95f5140e209
parenta51e3e46effc07f5e7ce5a698ddc8be65244b3a5
auto merge of #8262 : dotdash/rust/no_rval_copies, r=pcwalton

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?
src/librustc/middle/trans/callee.rs