-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trans move_val_init expression directly into the destination address. #25959
Conversation
…on address. remove dead code further down for intrinsic.
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 0b74800 has been approved by |
⌛ Testing commit 0b74800 with merge fe19406... |
💔 Test failed - auto-mac-64-nopt-t |
@bors: retry On Wed, Jun 3, 2015 at 7:40 AM, bors [email protected] wrote:
|
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: #22086 (comment) cc #22181
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 theptr::write
codegen issues alluded to at this comment:#22086 (comment)
cc #22181