commit | d0561900f3a1a4685628fbc3761ea4bfcccb0530 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Thu Nov 01 10:50:26 2007 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Thu Nov 01 10:50:26 2007 +0000 |
tree | 9fd5dfe72118388b4f2044b9d80756fe60179ebc | |
parent | d03a6a924264fb3e464c8fca3a63c5cb96a84892 [diff] |
Don't barf on empty basic blocks. Do not rely on assert doing something - this needs to work for release builds too. I chose to just abort rather than following the fancy logic of abortIfBroken, because (1) it is a pain to do otherwise, and (2) nothing is going to work if the module is this broken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43611 91177308-0d34-0410-b5e6-96231b3b80d8