projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea7771
)
fix assertion.
author
Chris Lattner
<sabre@nondot.org>
Wed, 3 Dec 2008 07:43:05 +0000
(07:43 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 3 Dec 2008 07:43:05 +0000
(07:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60468
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/BasicBlockUtils.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/BasicBlockUtils.cpp
b/lib/Transforms/Utils/BasicBlockUtils.cpp
index 9452e6e8778eb120ec471e48aa5bb1b1a1502d81..1a255a4bc01adf2606a8169d3cebac835f0d21c1 100644
(file)
--- a/
lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/
lib/Transforms/Utils/BasicBlockUtils.cpp
@@
-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