From 6e4ee4f333b021ab7fd1af0abcc005f8c7c2f9ae Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Mon, 20 Jun 2016 23:20:49 +0000 Subject: [PATCH] Attempt to make MSVC buildbots happy. Broken by r273219. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273220 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CFLAliasAnalysis.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Analysis/CFLAliasAnalysis.cpp b/lib/Analysis/CFLAliasAnalysis.cpp index ea3894e5fe5..bebc61458f0 100644 --- a/lib/Analysis/CFLAliasAnalysis.cpp +++ b/lib/Analysis/CFLAliasAnalysis.cpp @@ -740,10 +740,8 @@ CFLAAResult::FunctionInfo::FunctionInfo(Function &Fn, const SmallVectorImpl &RetVals, StratifiedSets S) : Sets(std::move(S)) { - LLVM_CONSTEXPR unsigned ExpectedMaxArgs = 8; - // Collect StratifiedInfo for each parameter - SmallVector, ExpectedMaxArgs> ParamInfos; + SmallVector, 8> ParamInfos; for (auto &Param : Fn.args()) { if (Param.getType()->isPointerTy()) ParamInfos.push_back(Sets.find(&Param)); -- 2.50.1