diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-18 03:13:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-18 03:13:35 +0000 |
commit | c7e31fcf496e164cd6b45e6d15e06df54c3441a6 (patch) | |
tree | 80fb6b1f906394cbb56b1c84990590ae16d22558 /lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 2bde78206d1475f30d30a789f0b5b2cb625ef400 (diff) | |
download | external_llvm-c7e31fcf496e164cd6b45e6d15e06df54c3441a6.zip external_llvm-c7e31fcf496e164cd6b45e6d15e06df54c3441a6.tar.gz external_llvm-c7e31fcf496e164cd6b45e6d15e06df54c3441a6.tar.bz2 |
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
-rw-r--r-- | lib/Transforms/Utils/BasicBlockUtils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/BasicBlockUtils.cpp b/lib/Transforms/Utils/BasicBlockUtils.cpp index c28b027..093083a 100644 --- a/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/lib/Transforms/Utils/BasicBlockUtils.cpp @@ -257,7 +257,7 @@ void llvm::RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) { case Instruction::Switch: // Should remove entry default: case Instruction::Ret: // Cannot happen, has no successors! - llvm_unreachable("Unhandled terminator instruction type in RemoveSuccessor!"); + llvm_unreachable("Unhandled terminator inst type in RemoveSuccessor!"); } if (NewTI) // If it's a different instruction, replace. @@ -411,7 +411,8 @@ BasicBlock *llvm::SplitBlockPredecessors(BasicBlock *BB, DominatorTree *DT = P ? P->getAnalysisIfAvailable<DominatorTree>() : 0; if (DT) DT->splitBlock(NewBB); - if (DominanceFrontier *DF = P ? P->getAnalysisIfAvailable<DominanceFrontier>():0) + if (DominanceFrontier *DF = + P ? P->getAnalysisIfAvailable<DominanceFrontier>() : 0) DF->splitBlock(NewBB); // Insert a new PHI node into NewBB for every PHI node in BB and that new PHI |