about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-06-02 23:27:33 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-06-03 00:06:09 +0200
commitb51f44e21b24e0d67d78c1fefad13f7f8e08dc47 (patch)
tree30d001cd11a9343100e54f427de1a134996ca412 /src/rt/rust_kernel.cpp
parentc354a0c7eb22f7a4bc1c7adf8e2ed34ee96428aa (diff)
downloadrust-b51f44e21b24e0d67d78c1fefad13f7f8e08dc47.tar.gz
rust-b51f44e21b24e0d67d78c1fefad13f7f8e08dc47.zip
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
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions