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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user