diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-01-23 04:30:59 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-01-23 04:30:59 +0000 |
commit | 907b56ce7ab26222fa128d5062f8dddf11c81603 (patch) | |
tree | b44d41c2156dcfaa299f0c603ec67f6a547cd4ae | |
parent | c85dca66e68c9fa6ffa8471c64113b12d8d94fb1 (diff) |
Convert a std::vector to a SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124055 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/DominatorInternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DominatorInternals.h b/include/llvm/Analysis/DominatorInternals.h index 7d15fc4ad3..6f66580025 100644 --- a/include/llvm/Analysis/DominatorInternals.h +++ b/include/llvm/Analysis/DominatorInternals.h @@ -198,7 +198,7 @@ void Calculate(DominatorTreeBase<typename GraphTraits<NodeT>::NodeType>& DT, // Buckets[i] stores the index of the first element in V's bucket. After V's // bucket is processed, Buckets[i] stores the index of the next element in the // bucket containing V, if any. - std::vector<unsigned> Buckets; + SmallVector<unsigned, 32> Buckets; Buckets.resize(N + 1); for (unsigned i = 1; i <= N; ++i) Buckets[i] = i; |