Introduced isolated deinit as a SIL entity

This commit is contained in:
Mykola Pokhylets
2023-04-24 12:23:54 +02:00
parent 698e5e688a
commit b189495518
20 changed files with 101 additions and 23 deletions

View File

@@ -1017,6 +1017,12 @@ ManglingError Remangler::mangleDeallocator(Node *node, unsigned depth) {
return ManglingError::Success;
}
ManglingError Remangler::mangleIsolatedDeallocator(Node *node, unsigned depth) {
RETURN_IF_ERROR(mangleChildNodes(node, depth + 1));
Buffer << "fZ";
return ManglingError::Success;
}
ManglingError Remangler::mangleDeclContext(Node *node, unsigned depth) {
return mangleSingleChildNode(node, depth + 1);
}