From: George Burgess IV Date: Mon, 20 Jun 2016 23:20:49 +0000 (+0000) Subject: Attempt to make MSVC buildbots happy. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e4ee4f333b021ab7fd1af0abcc005f8c7c2f9ae;p=llvm 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 --- 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));