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

@@ -147,16 +147,6 @@ static void diagnoseStaticReports(const SILInstruction *I,
}
}
void swift::emitSILDataflowDiagnostics(SILModule *M) {
for (auto &Fn : *M)
for (auto &BB : Fn)
for (auto &I : BB) {
diagnoseUnreachable(&I, M->getASTContext());
diagnoseReturn(&I, M->getASTContext());
diagnoseStaticReports(&I, *M);
}
}
class EmitDFDiagnostics : public SILFunctionTrans {
virtual ~EmitDFDiagnostics() {}
@@ -175,5 +165,3 @@ class EmitDFDiagnostics : public SILFunctionTrans {
SILTransform *swift::createEmitDFDiagnostics() {
return new EmitDFDiagnostics();
}