diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-29 16:43:39 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-29 17:08:20 +0200 |
| commit | 2a40c5db469b5065f64c69ae7874f162ff2669a8 (patch) | |
| tree | 947c185ff38fe67420150432167c069fd050905a /src/rt/rust_kernel.cpp | |
| parent | 08a5278bb5cd11d7a4f986db627a585bdad878d7 (diff) | |
| download | rust-2a40c5db469b5065f64c69ae7874f162ff2669a8.tar.gz rust-2a40c5db469b5065f64c69ae7874f162ff2669a8.zip | |
Avoid extra casts for "self" arguments
"self" is always passed as an opaque box, so there's no point in using the concrete self type when translating the argument. All it does it causing the value to be casted back to an opaque box right away.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
