Fix a typo, which should also fix the failure on llvm-x86_64-linux-checks.

llvm-svn: 122687
This commit is contained in:
Cameron Zwarich 2011-01-02 10:06:44 +00:00
parent 8e8f492f65
commit d7f02cc5dd
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ void Calculate(DominatorTreeBase<typename GraphTraits<NodeT>::NodeType>& DT,
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;