-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Fix ICE on i686 when calling immediate() on OperandValue::Ref in return #38855
Conversation
@@ -223,7 +223,12 @@ impl<'a, 'tcx> MirContext<'a, 'tcx> { | |||
load | |||
} else { | |||
let op = self.trans_consume(&bcx, &mir::Lvalue::Local(mir::RETURN_POINTER)); | |||
op.pack_if_pair(&bcx).immediate() | |||
let op_ref = op.pack_if_pair(&bcx); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd move this into the else
.
b7f5080
to
97c008c
Compare
@bors r+ |
📌 Commit 97c008c has been approved by |
Approved for beta. Small patch, regression. cc @rust-lang/compiler |
@bors: p=1 This is a backport |
⌛ Testing commit 97c008c with merge a754a23... |
💔 Test failed - status-travis |
@bors retry
|
⌛ Testing commit 97c008c with merge 7ecb5b7... |
💔 Test failed - status-travis |
@bors: retry
* osx network failure
…On Fri, Jan 6, 2017 at 8:26 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/189549854>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#38855 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95OYuXv0CoDfONwxMFDKjieUYEogoks5rPmtKgaJpZM4LcDNc>
.
|
☀️ Test successful - status-appveyor, status-travis |
Fixes #38727, and adds a test case.
r? @eddyb