]> git.lizzy.rs Git - rust.git/commitdiff
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)
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?

1  2 
src/librustc/middle/trans/callee.rs

Simple merge