summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-02 10:06:44 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-02 10:06:44 +0000
commitd7f02cc5ddbca4c2ef323bf4caca3d5e29495b0a (patch)
treee9c0a267bcbbd5f348aea02011d3c31dca84e3e3
parent8e8f492f6507c72d44f5a0d256b50be964377d26 (diff)
downloadbcm5719-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.h2
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;
OpenPOWER on IntegriCloud