diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-01-02 10:06:44 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-01-02 10:06:44 +0000 |
commit | d7f02cc5ddbca4c2ef323bf4caca3d5e29495b0a (patch) | |
tree | e9c0a267bcbbd5f348aea02011d3c31dca84e3e3 | |
parent | 8e8f492f6507c72d44f5a0d256b50be964377d26 (diff) | |
download | bcm5719-llvm-d7f02cc5ddbca4c2ef323bf4caca3d5e29495b0a.tar.gz bcm5719-llvm-d7f02cc5ddbca4c2ef323bf4caca3d5e29495b0a.zip |
Fix a typo, which should also fix the failure on llvm-x86_64-linux-checks.
llvm-svn: 122687
-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 4c074d890c5..658e75bd3ba 100644 --- a/llvm/include/llvm/Analysis/DominatorInternals.h +++ b/llvm/include/llvm/Analysis/DominatorInternals.h @@ -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; |