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:
491f54f
)
Suppress -Asserts warning.
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 17 Oct 2009 09:33:00 +0000
(09:33 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 17 Oct 2009 09:33:00 +0000
(09:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84327
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/CodePlacementOpt.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/CodePlacementOpt.cpp
b/lib/CodeGen/CodePlacementOpt.cpp
index c333504d0b6c5e6eb7d8831bf43b472ca1915709..85cbc78b5148cc07ad466d5fc969e82c6b096a32 100644
(file)
--- a/
lib/CodeGen/CodePlacementOpt.cpp
+++ b/
lib/CodeGen/CodePlacementOpt.cpp
@@
-153,8
+153,8
@@
void CodePlacementOpt::UpdateTerminator(MachineBasicBlock *MBB) {
MachineBasicBlock *TBB = 0, *FBB = 0;
SmallVector<MachineOperand, 4> Cond;
- bool B = TII->AnalyzeBranch(*MBB, TBB, FBB, Cond);
-
assert(!B &&
"UpdateTerminators requires analyzable predecessors!");
+ assert(!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond) &&
+
"UpdateTerminators requires analyzable predecessors!");
if (Cond.empty()) {
if (TBB) {
// The block has an unconditional branch. If its successor is now