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

@@ -809,14 +809,6 @@ static bool CCPFunctionBody(SILFunction &F) {
return false;
}
//===----------------------------------------------------------------------===//
// Top Level Driver
//===----------------------------------------------------------------------===//
void swift::performSILConstantPropagation(SILModule *M) {
for (auto &Fn : *M)
CCPFunctionBody(Fn);
}
class ConstantPropagation : public SILFunctionTrans {
virtual ~ConstantPropagation() {}
@@ -830,4 +822,3 @@ class ConstantPropagation : public SILFunctionTrans {
SILTransform *swift::createConstantPropagation() {
return new ConstantPropagation();
}