about summary refs log tree commit diff
path: root/src/test/rustdoc/empty-mod-private.rs
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2017-09-14 22:09:09 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2017-10-18 12:58:15 +0200
commit6bfecd41cc29a5faec964f2dc252443d5fda4293 (patch)
tree0547ff1100e10486af306da4982854cea26c9a71 /src/test/rustdoc/empty-mod-private.rs
parentf6d7514545cbe83e771a400d04049b96dfb210cd (diff)
downloadrust-6bfecd41cc29a5faec964f2dc252443d5fda4293.tar.gz
rust-6bfecd41cc29a5faec964f2dc252443d5fda4293.zip
Avoid unnecessary allocas for indirect function arguments
The extra alloca was only necessary because it made LLVM implicitly
handle the necessary deref to get to the actual value. The same happens
for indirect arguments that have the byval attribute. But the Rust ABI
does not use the byval attribute and so we need to manually add the
deref operation to the debuginfo.
Diffstat (limited to 'src/test/rustdoc/empty-mod-private.rs')
0 files changed, 0 insertions, 0 deletions