Attempt to make MSVC buildbots happy.

Broken by r273219.

llvm-svn: 273220
This commit is contained in:
George Burgess IV 2016-06-20 23:20:49 +00:00
parent 87b2e41416
commit a99cd049d0
1 changed files with 1 additions and 3 deletions

View 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));