diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-09 22:47:25 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-09 22:47:25 +0000 |
| commit | 70e572e740e7329bbf025f1da41daf9258bfb3d1 (patch) | |
| tree | c95ead0aa0270f064de8b2e0a3c7b1a7e9f043cf /llvm/lib/VMCore/Dominators.cpp | |
| parent | 6936c863b0117dfee60d8f57ef8d63106ae6890a (diff) | |
| download | bcm5719-llvm-70e572e740e7329bbf025f1da41daf9258bfb3d1.tar.gz bcm5719-llvm-70e572e740e7329bbf025f1da41daf9258bfb3d1.zip | |
Fix a typo and some indentation.
llvm-svn: 100908
Diffstat (limited to 'llvm/lib/VMCore/Dominators.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Dominators.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Dominators.cpp b/llvm/lib/VMCore/Dominators.cpp index 34417505814..b014e69ee82 100644 --- a/llvm/lib/VMCore/Dominators.cpp +++ b/llvm/lib/VMCore/Dominators.cpp @@ -119,7 +119,7 @@ void DominanceFrontier::verifyAnalysis() const { assert(!compare(OtherDF) && "Invalid DominanceFrontier info!"); } -// NewBB is split and now it has one successor. Update dominace frontier to +// 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 @@ -129,7 +129,7 @@ void DominanceFrontier::splitBlock(BasicBlock *NewBB) { SmallVector<BasicBlock*, 8> PredBlocks; for (pred_iterator PI = pred_begin(NewBB), PE = pred_end(NewBB); PI != PE; ++PI) - PredBlocks.push_back(*PI); + PredBlocks.push_back(*PI); if (PredBlocks.empty()) // If NewBB does not have any predecessors then it is a entry block. |

