diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-17 09:33:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-17 09:33:00 +0000 |
commit | aa127ee919bdff5f6363818a10fe7db8d70e0780 (patch) | |
tree | 217ef216cb6551fe3bda509dec99ed54b3a9629b /lib/CodeGen/CodePlacementOpt.cpp | |
parent | 5505bc1c26d335e9a0f22f2c55fcf7544037b2d9 (diff) | |
download | external_llvm-aa127ee919bdff5f6363818a10fe7db8d70e0780.zip external_llvm-aa127ee919bdff5f6363818a10fe7db8d70e0780.tar.gz external_llvm-aa127ee919bdff5f6363818a10fe7db8d70e0780.tar.bz2 |
Suppress -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodePlacementOpt.cpp')
-rw-r--r-- | lib/CodeGen/CodePlacementOpt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodePlacementOpt.cpp b/lib/CodeGen/CodePlacementOpt.cpp index c333504..85cbc78 100644 --- 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 |