mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove AIList from Generics.h.
There was only one remaining user since it was removed from any function interfaces, and that should really just use SmallVector directly. Swift SVN r26790
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
void run() override {
|
||||
|
||||
/// A list of devirtualized calls.
|
||||
GenericSpecializer::AIList DevirtualizedCalls;
|
||||
llvm::SmallVector<ApplyInst *, 16> DevirtualizedCalls;
|
||||
|
||||
bool Changed = false;
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
|
||||
// Invalidate the analysis of caller functions.
|
||||
for (auto AI : DevirtualizedCalls) {
|
||||
invalidateAnalysis(AI.getInstruction()->getFunction(),
|
||||
invalidateAnalysis(AI->getFunction(),
|
||||
SILAnalysis::PreserveKind::Branches);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user