[CFLAA] Remove one final initializer list

Maybe MSVC will be happy now...

llvm-svn: 217000
This commit is contained in:
Hal Finkel 2014-09-03 00:06:47 +00:00
parent 5c25f70da3
commit 960b7410dc

View File

@ -140,6 +140,10 @@ struct FunctionInfo {
StratifiedSets<Value *> Sets;
// Lots of functions have < 4 returns. Adjust as necessary.
SmallVector<Value *, 4> ReturnedValues;
FunctionInfo(StratifiedSets<Value *> &&S,
SmallVector<Value *, 4> &&RV)
: Sets(std::move(S)), ReturnedValues(std::move(RV)) {}
};
struct CFLAliasAnalysis;
@ -925,7 +929,7 @@ static FunctionInfo buildSetsFrom(CFLAliasAnalysis &Analysis, Function *Fn) {
Builder.add(&Arg);
}
return {Builder.build(), std::move(ReturnedValues)};
return FunctionInfo(Builder.build(), std::move(ReturnedValues));
}
void CFLAliasAnalysis::scan(Function *Fn) {