mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
[CFLAA] Remove one final initializer list
Maybe MSVC will be happy now... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b38c0b8f58
commit
fbe935edc1
@ -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…
Reference in New Issue
Block a user