mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Optimizer: remove the now unused NonTransparentFunctionOwnershipModelEliminator pass
Also remove the `skipStdlibModule` flag from the OwnershipModelEliminator, because it's always false
This commit is contained in:
@@ -393,10 +393,6 @@ private:
|
||||
|
||||
bool parsedAsSerializedSIL;
|
||||
|
||||
/// Set if we have registered a deserialization notification handler for
|
||||
/// lowering ownership in non transparent functions.
|
||||
/// This gets set in NonTransparent OwnershipModelEliminator pass.
|
||||
bool regDeserializationNotificationHandlerForNonTransparentFuncOME;
|
||||
/// Set if we have registered a deserialization notification handler for
|
||||
/// lowering ownership in transparent functions.
|
||||
/// This gets set in OwnershipModelEliminator pass.
|
||||
@@ -449,15 +445,9 @@ public:
|
||||
deserializationNotificationHandlers.erase(handler);
|
||||
}
|
||||
|
||||
bool hasRegisteredDeserializationNotificationHandlerForNonTransparentFuncOME() {
|
||||
return regDeserializationNotificationHandlerForNonTransparentFuncOME;
|
||||
}
|
||||
bool hasRegisteredDeserializationNotificationHandlerForAllFuncOME() {
|
||||
return regDeserializationNotificationHandlerForAllFuncOME;
|
||||
}
|
||||
void setRegisteredDeserializationNotificationHandlerForNonTransparentFuncOME() {
|
||||
regDeserializationNotificationHandlerForNonTransparentFuncOME = true;
|
||||
}
|
||||
void setRegisteredDeserializationNotificationHandlerForAllFuncOME() {
|
||||
regDeserializationNotificationHandlerForAllFuncOME = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user