diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-02 23:27:33 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-03 00:06:09 +0200 |
| commit | b51f44e21b24e0d67d78c1fefad13f7f8e08dc47 (patch) | |
| tree | 30d001cd11a9343100e54f427de1a134996ca412 /src/rt/rust_kernel.cpp | |
| parent | c354a0c7eb22f7a4bc1c7adf8e2ed34ee96428aa (diff) | |
| download | rust-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
