diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-07-11 18:44:40 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-07-11 18:46:05 +0200 |
| commit | 7e972772890ec0d28d2aa4e7ff5c7b004e5463e8 (patch) | |
| tree | e5bc81493720ad60a3086f74c9c4b5991ce00c29 /src/rt/rust_kernel.cpp | |
| parent | e95fcfafc7a2349217096bc1ed8b8c273b6a0e2b (diff) | |
| download | rust-7e972772890ec0d28d2aa4e7ff5c7b004e5463e8.tar.gz rust-7e972772890ec0d28d2aa4e7ff5c7b004e5463e8.zip | |
transmute: Avoid double copy for immediate values
Currently, immediate values are copied into an alloca only to have an addressable storage so that it can be used with memcpy. Obviously we can skip the memcpy in this case.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
