mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-26 07:34:14 +00:00
fix assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ea7771e09
commit
15efa1a1fd
@ -27,7 +27,7 @@ using namespace llvm;
|
||||
/// DeleteDeadBlock - Delete the specified block, which must have no
|
||||
/// predecessors.
|
||||
void llvm::DeleteDeadBlock(BasicBlock *BB) {
|
||||
assert(pred_begin(BB) != pred_end(BB) && "Block is not dead!");
|
||||
assert(pred_begin(BB) == pred_end(BB) && "Block is not dead!");
|
||||
TerminatorInst *BBTerm = BB->getTerminator();
|
||||
|
||||
// Loop through all of our successors and make sure they know that one
|
||||
|
Loading…
x
Reference in New Issue
Block a user