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 | f0b5b67ba5e4ea270f89f7a3a655af18798a7610 (patch) | |
tree | 83ffd84f424954d9aaca7986905c84862212e160 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 2a2a468d1aabd8c72f903415bb67616658bfdc70 (diff) | |
download | bcm5719-llvm-f0b5b67ba5e4ea270f89f7a3a655af18798a7610.tar.gz bcm5719-llvm-f0b5b67ba5e4ea270f89f7a3a655af18798a7610.zip |
fit in 80 cols
llvm-svn: 111348
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp index c28b0275567..093083a630c 100644 --- a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/llvm/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 |