From a4d93162cbb95423a9c8f35e38747c08aa8a3516 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Sun, 2 Jan 2011 10:06:44 +0000 Subject: [PATCH] Fix a typo, which should also fix the failure on llvm-x86_64-linux-checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122687 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DominatorInternals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Analysis/DominatorInternals.h b/include/llvm/Analysis/DominatorInternals.h index 4c074d890c5..658e75bd3ba 100644 --- a/include/llvm/Analysis/DominatorInternals.h +++ b/include/llvm/Analysis/DominatorInternals.h @@ -196,7 +196,7 @@ void Calculate(DominatorTreeBase::NodeType>& DT, MultipleRoots |= (DT.isPostDominator() && N != F.size()); std::vector Buckets; - Buckets.reserve(N + 1); + Buckets.resize(N + 1); for (unsigned i = 1; i <= N; ++i) Buckets[i] = i;