about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJames Miller <james@aatch.net>2016-03-11 19:42:47 +1300
committerJames Miller <james@aatch.net>2016-03-30 13:00:02 +1300
commit02cb1d4ef1e187494f7f089e114515dc74fabd10 (patch)
tree6ce3391fc03340c4670fff61546aeae05d891de0 /src/rustllvm/RustWrapper.cpp
parentc70bc3a5daa2ce46aad7c230004ade7a404c12f1 (diff)
downloadrust-02cb1d4ef1e187494f7f089e114515dc74fabd10.tar.gz
rust-02cb1d4ef1e187494f7f089e114515dc74fabd10.zip
Delete obviously-unreachable blocks
Some blocks won't be translated at all because they aren't reachable at
the LLVM level, these need to be dealt with because they lack a
terminator and therefore trigger an LLVM assertion.

Other blocks aren't reachable because of codegen-time optimistions, for
example not dropping types that don't need it, often resulting in blocks
with no predecessors. We'll clean those up as well.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions