mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Isolated synchronous deinit"
This commit is contained in:
@@ -367,7 +367,6 @@ private:
|
||||
case Node::Kind::CurryThunk:
|
||||
case Node::Kind::DispatchThunk:
|
||||
case Node::Kind::Deallocator:
|
||||
case Node::Kind::IsolatedDeallocator:
|
||||
case Node::Kind::DeclContext:
|
||||
case Node::Kind::DefaultArgumentInitializer:
|
||||
case Node::Kind::DefaultAssociatedTypeMetadataAccessor:
|
||||
@@ -2723,12 +2722,6 @@ NodePointer NodePrinter::print(NodePointer Node, unsigned depth,
|
||||
/*hasName*/ false,
|
||||
isClassType(Node->getChild(0)) ? "__deallocating_deinit"
|
||||
: "deinit");
|
||||
case Node::Kind::IsolatedDeallocator:
|
||||
return printEntity(Node, depth, asPrefixContext, TypePrinting::NoType,
|
||||
/*hasName*/ false,
|
||||
isClassType(Node->getChild(0))
|
||||
? "__isolated_deallocating_deinit"
|
||||
: "deinit");
|
||||
case Node::Kind::IVarInitializer:
|
||||
return printEntity(Node, depth, asPrefixContext, TypePrinting::NoType,
|
||||
/*hasName*/ false, "__ivar_initializer");
|
||||
|
||||
Reference in New Issue
Block a user