Delete the unused performXXX() functions.

Swift SVN r13531
This commit is contained in:
Nadav Rotem
2014-02-06 00:57:28 +00:00
parent dcc4c17751
commit f8c7b54d28
25 changed files with 11 additions and 412 deletions

View File

@@ -474,13 +474,6 @@ void SILDevirtualizer::optimizeApplyInst(ApplyInst *AI) {
DEBUG(llvm::dbgs() << " *** Could not find a witness table for: " << *PMI);
}
bool swift::performSILDevirtualization(SILModule *M) {
bool Changed = false;
for (auto &F : *M)
Changed |= SILDevirtualizer(&F).run();
return Changed;
}
class SILDevirtualizationPass : public SILFunctionTrans {
virtual ~SILDevirtualizationPass() {}