[llvm-commits] [llvm] r124055 - /llvm/trunk/include/llvm/Analysis/DominatorInternals.h
Cameron Zwarich
zwarich at apple.com
Sat Jan 22 20:30:59 PST 2011
Author: zwarich
Date: Sat Jan 22 22:30:59 2011
New Revision: 124055
URL: http://llvm.org/viewvc/llvm-project?rev=124055&view=rev
Log:
Convert a std::vector to a SmallVector.
Modified:
llvm/trunk/include/llvm/Analysis/DominatorInternals.h
Modified: llvm/trunk/include/llvm/Analysis/DominatorInternals.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DominatorInternals.h?rev=124055&r1=124054&r2=124055&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DominatorInternals.h (original)
+++ llvm/trunk/include/llvm/Analysis/DominatorInternals.h Sat Jan 22 22:30:59 2011
@@ -198,7 +198,7 @@
// 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;
More information about the llvm-commits
mailing list