mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
[CFLAA] Remove one final initializer list
Maybe MSVC will be happy now... llvm-svn: 217000
This commit is contained in:
parent
5c25f70da3
commit
960b7410dc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user