]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #29963 - dotdash:fat_copy, r=eddyb
authorbors <bors@rust-lang.org>
Sat, 21 Nov 2015 22:08:26 +0000 (22:08 +0000)
committerbors <bors@rust-lang.org>
Sat, 21 Nov 2015 22:08:26 +0000 (22:08 +0000)
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


Trivial merge