rust/src/librustc/middle/trans
Björn Steinbrink b51f44e21b Fix passing self by value for types passed by value
For types that are passed by value, we can't just cast the value to a
pointer, but have to use an alloca and copy the value there. This
handling is already present for all other arguments, but was missing
for "self".

Fixes #6682, #4850 and #4878
2013-06-03 00:06:09 +02:00
..
_match.rs Remove copy bindings from patterns. 2013-05-30 15:20:36 -04:00
adt.rs librustc: Bump the offset when translating const structs. Closes #6352. 2013-05-30 18:17:32 -07:00
asm.rs Remove a bunch of unnecessary allocations and copies 2013-05-30 11:49:04 +02:00
base.rs Fix passing self by value for types passed by value 2013-06-03 00:06:09 +02:00
block.rs
build.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
cabi_arm.rs
cabi_mips.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
cabi_x86_64.rs
cabi_x86.rs libextra: Rename the actual metadata names of libcore to libstd and libstd to libextra 2013-05-22 21:57:07 -07:00
cabi.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
callee.rs syntax: move callee_id into the expr_ variants 2013-06-01 15:31:56 -07:00
closure.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
common.rs syntax: move callee_id into the expr_ variants 2013-06-01 15:31:56 -07:00
consts.rs syntax: move callee_id into the expr_ variants 2013-06-01 15:31:56 -07:00
controlflow.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
datum.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
debuginfo.rs Replace NDM with proper FIXME 2013-05-30 15:20:36 -04:00
expr.rs auto merge of #6885 : erickt/rust/move-callee_id, r=catamorphism 2013-06-01 17:13:39 -07:00
foreign.rs auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch 2013-05-31 00:43:45 -07:00
glue.rs Remove unnecessary 'use' forms 2013-05-30 13:08:18 -07:00
inline.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
machine.rs Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
macros.rs
meth.rs Remove TrByImplicitRef and source field on datums 2013-05-30 09:47:14 -04:00
monomorphize.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
reachable.rs syntax: move callee_id into the expr_ variants 2013-06-01 15:31:56 -07:00
reflect.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
shape.rs Silence various warnings throughout test modules 2013-05-28 15:27:35 -05:00
tvec.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
type_of.rs Omit unused implicit argument if return type is immediate. 2013-05-27 17:13:01 -07:00
type_use.rs syntax: move callee_id into the expr_ variants 2013-06-01 15:31:56 -07:00
uniq.rs
write_guard.rs libextra: Rename the actual metadata names of libcore to libstd and libstd to libextra 2013-05-22 21:57:07 -07:00