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:
Mark Lacey
2015-04-01 02:10:55 +00:00
parent 1b75112151
commit 315a645e05
2 changed files with 2 additions and 5 deletions

View File

@@ -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);
}