mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Delete the unused performXXX() functions.
Swift SVN r13531
This commit is contained in:
@@ -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() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user