[llvm-commits] [llvm] r109403 - /llvm/trunk/lib/VMCore/Dominators.cpp
Dan Gohman
gohman at apple.com
Mon Jul 26 10:39:33 PDT 2010
Author: djg
Date: Mon Jul 26 12:39:33 2010
New Revision: 109403
URL: http://llvm.org/viewvc/llvm-project?rev=109403&view=rev
Log:
Fix formatting.
Modified:
llvm/trunk/lib/VMCore/Dominators.cpp
Modified: llvm/trunk/lib/VMCore/Dominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Dominators.cpp?rev=109403&r1=109402&r2=109403&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Dominators.cpp (original)
+++ llvm/trunk/lib/VMCore/Dominators.cpp Mon Jul 26 12:39:33 2010
@@ -123,8 +123,8 @@
// NewBB is split and now it has one successor. Update dominance frontier to
// reflect this change.
void DominanceFrontier::splitBlock(BasicBlock *NewBB) {
- assert(NewBB->getTerminator()->getNumSuccessors() == 1
- && "NewBB should have a single successor!");
+ assert(NewBB->getTerminator()->getNumSuccessors() == 1 &&
+ "NewBB should have a single successor!");
BasicBlock *NewBBSucc = NewBB->getTerminator()->getSuccessor(0);
SmallVector<BasicBlock*, 8> PredBlocks;
More information about the llvm-commits
mailing list