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-29 16:43:39 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-06-29 17:08:20 +0200
commit2a40c5db469b5065f64c69ae7874f162ff2669a8 (patch)
tree947c185ff38fe67420150432167c069fd050905a /src/rt/rust_kernel.cpp
parent08a5278bb5cd11d7a4f986db627a585bdad878d7 (diff)
downloadrust-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