about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-03 21:46:21 +0000
committerbors <bors@rust-lang.org>2015-06-03 21:46:21 +0000
commitfe107b360e7721515141839c9d2b01ba92a07244 (patch)
tree5ef3fc4422f782e0f967e28ac23a907e98da7af0 /src/rustllvm/RustWrapper.cpp
parentb70f49b86fa4d8780f46e869880e84e1c24c2f19 (diff)
parent0b748002ecfc9848fed131b6ee10ae434f3590a7 (diff)
downloadrust-fe107b360e7721515141839c9d2b01ba92a07244.tar.gz
rust-fe107b360e7721515141839c9d2b01ba92a07244.zip
Auto merge of #25959 - pnkfelix:fsk-hack-move-val-init, r=nikomatsakis
Hack the move_val_init intrinsic to trans directly into the destination address.

This is to remove an intermediate (and unnecessary) alloca on the stack that one otherwise suffers when using this intrinsic.

This is part of the `box` protocol work; in particular, this is meant to address the `ptr::write` codegen issues alluded to at this comment: 

  https://github.com/rust-lang/rust/pull/22086#issuecomment-96168675

cc #22181
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions