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 | 2c8a9f8ad99f9d3777ea82bb44f8bbf6c983642c (patch) | |
tree | 59f2e96c26f6e038edb5976a13809372a6d4c2ce /lib/VMCore | |
parent | e5f76877aee6f33964de105893f0ef338661ecad (diff) | |
download | external_llvm-2c8a9f8ad99f9d3777ea82bb44f8bbf6c983642c.zip external_llvm-2c8a9f8ad99f9d3777ea82bb44f8bbf6c983642c.tar.gz external_llvm-2c8a9f8ad99f9d3777ea82bb44f8bbf6c983642c.tar.bz2 |
Fix a typo and some indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Dominators.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index 3441750..b014e69 100644 --- a/lib/VMCore/Dominators.cpp +++ b/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. |