about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-11 15:45:28 +0000
committerbors <bors@rust-lang.org>2017-01-11 15:45:28 +0000
commit513d942a7ef853edf46fc3a5965e3baed42675ca (patch)
tree3f22f01b181136b4468528b0171a910ffb7b8d49 /src/rustllvm/RustWrapper.cpp
parent52c03d1d619fd25c961bc9de59bcc942b660d5db (diff)
parent61b0b212f9609e56f06a63db8542c3a5288074d8 (diff)
downloadrust-513d942a7ef853edf46fc3a5965e3baed42675ca.tar.gz
rust-513d942a7ef853edf46fc3a5965e3baed42675ca.zip
Auto merge of #38989 - arielb1:constant-mir-overflow2, r=eddyb
fix function arguments in constant promotion

we can't create the target block until *after* we promote the arguments - otherwise the arguments will be promoted into the target block. oops.

Fixes #38985.

This is a regression introduced in the beta-nominated #38833, so beta-nominating this one too (sorry @brson).

r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions