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

@@ -1557,19 +1557,6 @@ static void lowerRawSILOperations(SILFunction &Fn) {
/// performSILDefiniteInitialization - Perform definitive initialization
/// analysis and promote alloc_box uses into SSA registers for later SSA-based
/// dataflow passes.
void swift::performSILDefiniteInitialization(SILModule *M) {
for (auto &Fn : *M) {
// Walk through and promote all of the alloc_box's that we can.
checkDefiniteInitialization(Fn);
DEBUG(Fn.verify());
// Lower raw-sil only instructions used by this pass, like "assign".
lowerRawSILOperations(Fn);
DEBUG(Fn.verify());
}
}
class DefiniteInitialization : public SILFunctionTrans {
virtual ~DefiniteInitialization() {}
@@ -1591,4 +1578,3 @@ class DefiniteInitialization : public SILFunctionTrans {
SILTransform *swift::createDefiniteInitialization() {
return new DefiniteInitialization();
}