[llvm-commits] [llvm] r84327 - /llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp
Daniel Dunbar
daniel at zuster.org
Sat Oct 17 02:33:36 PDT 2009
Author: ddunbar
Date: Sat Oct 17 04:33:00 2009
New Revision: 84327
URL: http://llvm.org/viewvc/llvm-project?rev=84327&view=rev
Log:
Suppress -Asserts warning.
Modified:
llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp
Modified: llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp?rev=84327&r1=84326&r2=84327&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp (original)
+++ llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp Sat Oct 17 04:33:00 2009
@@ -153,8 +153,8 @@
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
More information about the llvm-commits
mailing list