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 | cfeb0eee06b2e36bc137d203f6c1c78bac412be1 (patch) | |
tree | 1807991411ffc7ce0540e6d6b5540f53ae146c04 | |
parent | aea4958ea6acd5d5820149cc76dae57a1f2c5c12 (diff) | |
download | bcm5719-llvm-cfeb0eee06b2e36bc137d203f6c1c78bac412be1.tar.gz bcm5719-llvm-cfeb0eee06b2e36bc137d203f6c1c78bac412be1.zip |
Convert a std::vector to a SmallVector.
llvm-svn: 124055
-rw-r--r-- | llvm/include/llvm/Analysis/DominatorInternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/DominatorInternals.h b/llvm/include/llvm/Analysis/DominatorInternals.h index 7d15fc4ad36..6f66580025c 100644 --- a/llvm/include/llvm/Analysis/DominatorInternals.h +++ b/llvm/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; |