]> granicus.if.org Git - llvm/commitdiff
Attempt to make MSVC buildbots happy.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 20 Jun 2016 23:20:49 +0000 (23:20 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 20 Jun 2016 23:20:49 +0000 (23:20 +0000)
Broken by r273219.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273220 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFLAliasAnalysis.cpp

index ea3894e5fe5842f83135d5f09a75ea3dc53f4376..bebc61458f08752b949feeaf43e7983de2369c42 100644 (file)
@@ -740,10 +740,8 @@ CFLAAResult::FunctionInfo::FunctionInfo(Function &Fn,
                                         const SmallVectorImpl<Value *> &RetVals,
                                         StratifiedSets<Value *> S)
     : Sets(std::move(S)) {
-  LLVM_CONSTEXPR unsigned ExpectedMaxArgs = 8;
-
   // Collect StratifiedInfo for each parameter
-  SmallVector<Optional<StratifiedInfo>, ExpectedMaxArgs> ParamInfos;
+  SmallVector<Optional<StratifiedInfo>, 8> ParamInfos;
   for (auto &Param : Fn.args()) {
     if (Param.getType()->isPointerTy())
       ParamInfos.push_back(Sets.find(&Param));