diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-03 20:36:13 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-03 20:36:13 +0000 |
commit | 058db9287ab358dc609d0ed47f6027769ea72006 (patch) | |
tree | e2d8fcb48f9093e7e2fd7c21e7f0ffc7ebba869d | |
parent | faf8fa566493a3aefb18f784cf706aae6a1e569f (diff) | |
download | external_llvm-058db9287ab358dc609d0ed47f6027769ea72006.zip external_llvm-058db9287ab358dc609d0ed47f6027769ea72006.tar.gz external_llvm-058db9287ab358dc609d0ed47f6027769ea72006.tar.bz2 |
Smallvectorize switchExitBlocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80942 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 94dc154..10806eb 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -308,7 +308,7 @@ Loop::getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const { SmallVector<BasicBlock *, 128> LoopBBs(block_begin(), block_end()); std::sort(LoopBBs.begin(), LoopBBs.end()); - std::vector<BasicBlock *> switchExitBlocks; + SmallVector<BasicBlock *, 32> switchExitBlocks; for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) { |