about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-04-02 00:40:38 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-04-02 00:40:38 +0530
commit02b38a2497c48c6195cdde4934ea08753f5b5539 (patch)
treefe65c75ff06cabcbc0dc3a85dcc2db34df15a6c9 /src/rustllvm/RustWrapper.cpp
parentd528aa9960cb9b937d8ef6c09905a6a8076d5f3a (diff)
parente05c2f80da3bf538c045d0682426a25b1c4b862b (diff)
downloadrust-02b38a2497c48c6195cdde4934ea08753f5b5539.tar.gz
rust-02b38a2497c48c6195cdde4934ea08753f5b5539.zip
Rollup merge of #23066 - michaelwoerister:unreachable-if, r=pnkfelix
This PR solves #21559 by making sure that unreachable if-expressions are not further translated.

Could someone who knows their way around `trans` take a look at the changes in `controlflow.rs`? I'm not sure if any other code relies on any side-effects of translating unreachable things.

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