about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-11-20 21:42:13 +0100
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-11-20 21:42:13 +0100
commit6741f3315af8c8f124796b4fde042a1099588598 (patch)
tree2db4270436bd2c5b79fb3ea1ed64d558b45541d6 /src/liballoc_system
parentf8827f527560a5ddea50a213440a89d3bff2bfea (diff)
downloadrust-6741f3315af8c8f124796b4fde042a1099588598.tar.gz
rust-6741f3315af8c8f124796b4fde042a1099588598.zip
Avoid FCA loads and extractvalue when copying fat pointers
Since fat pointers do not qualify as structural types, they got copied
using load_ty and store_ty, which means that we load an FCA and use
extractvalue to get the components of the fat pointer. This breaks
certain optimizations in LLVM.

Found via apasel422/ref_count#13
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions