[llvm-commits] [llvm] r122687 - /llvm/trunk/include/llvm/Analysis/DominatorInternals.h
Cameron Zwarich
zwarich at apple.com
Sun Jan 2 02:06:44 PST 2011
Author: zwarich
Date: Sun Jan 2 04:06:44 2011
New Revision: 122687
URL: http://llvm.org/viewvc/llvm-project?rev=122687&view=rev
Log:
Fix a typo, which should also fix the failure on llvm-x86_64-linux-checks.
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=122687&r1=122686&r2=122687&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DominatorInternals.h (original)
+++ llvm/trunk/include/llvm/Analysis/DominatorInternals.h Sun Jan 2 04:06:44 2011
@@ -196,7 +196,7 @@
MultipleRoots |= (DT.isPostDominator() && N != F.size());
std::vector<unsigned> Buckets;
- Buckets.reserve(N + 1);
+ Buckets.resize(N + 1);
for (unsigned i = 1; i <= N; ++i)
Buckets[i] = i;
More information about the llvm-commits
mailing list