about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-15 21:35:22 +0000
committerbors <bors@rust-lang.org>2018-07-15 21:35:22 +0000
commit31f1bc7b40469b9319f1ba610ad8760ebd11c3da (patch)
tree5879efed635766e98116fb81764b52bef21a42f3 /src/rustllvm/PassWrapper.cpp
parent82e5c9c8e2c4f47a8e1090ad8e6be5a16f82795e (diff)
parentf9825c215b9b76dd42504e72887f82eca0469c96 (diff)
downloadrust-31f1bc7b40469b9319f1ba610ad8760ebd11c3da.tar.gz
rust-31f1bc7b40469b9319f1ba610ad8760ebd11c3da.zip
Auto merge of #52400 - RalfJung:match, r=oli-obk
CTFE: use binary_op to compare integer with match disriminant

This is needed to unblock https://github.com/solson/miri/pull/401: There is code in the Windows initialization functions that uses `match` to test whether a pointer is NULL.

I will add a testcase in miri; I was not sure where to add a testcase in Rust itself.

r? @oli-obk
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions