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

@@ -385,23 +385,6 @@ bool CSE::processNode(DominanceInfoNode *Node) {
return Changed;
}
//===----------------------------------------------------------------------===//
// Top Level Driver
//===----------------------------------------------------------------------===//
void swift::performSILCSE(SILModule *M) {
CSE C;
for (SILFunction &F : *M) {
// If F is just a declaration and not a definition, skip it since it has no
// BB's to process.
if (F.empty())
continue;
// Perform CSE.
C.processFunction(F);
}
}
class SILCSE : public SILFunctionTrans {
virtual ~SILCSE() {}
@@ -417,4 +400,3 @@ class SILCSE : public SILFunctionTrans {
SILTransform *swift::createCSE() {
return new SILCSE();
}