Revert "Isolated synchronous deinit"

This commit is contained in:
Alex Hoppen
2024-09-03 18:11:26 -07:00
committed by GitHub
parent de963486d0
commit c5aa49ba64
88 changed files with 509 additions and 4226 deletions

View File

@@ -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");