diff options
| author | James Miller <james@aatch.net> | 2016-03-11 19:42:47 +1300 |
|---|---|---|
| committer | James Miller <james@aatch.net> | 2016-03-30 13:00:02 +1300 |
| commit | 02cb1d4ef1e187494f7f089e114515dc74fabd10 (patch) | |
| tree | 6ce3391fc03340c4670fff61546aeae05d891de0 /src/rustllvm/RustWrapper.cpp | |
| parent | c70bc3a5daa2ce46aad7c230004ade7a404c12f1 (diff) | |
| download | rust-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
