Attempt to make MSVC buildbots happy.
Broken by r273219. llvm-svn: 273220
This commit is contained in:
parent
87b2e41416
commit
a99cd049d0
|
@ -740,10 +740,8 @@ CFLAAResult::FunctionInfo::FunctionInfo(Function &Fn,
|
||||||
const SmallVectorImpl<Value *> &RetVals,
|
const SmallVectorImpl<Value *> &RetVals,
|
||||||
StratifiedSets<Value *> S)
|
StratifiedSets<Value *> S)
|
||||||
: Sets(std::move(S)) {
|
: Sets(std::move(S)) {
|
||||||
LLVM_CONSTEXPR unsigned ExpectedMaxArgs = 8;
|
|
||||||
|
|
||||||
// Collect StratifiedInfo for each parameter
|
// Collect StratifiedInfo for each parameter
|
||||||
SmallVector<Optional<StratifiedInfo>, ExpectedMaxArgs> ParamInfos;
|
SmallVector<Optional<StratifiedInfo>, 8> ParamInfos;
|
||||||
for (auto &Param : Fn.args()) {
|
for (auto &Param : Fn.args()) {
|
||||||
if (Param.getType()->isPointerTy())
|
if (Param.getType()->isPointerTy())
|
||||||
ParamInfos.push_back(Sets.find(&Param));
|
ParamInfos.push_back(Sets.find(&Param));
|
||||||
|
|
Loading…
Reference in New Issue