Refactors leading towards the use of protocol witness table

access functions.  NFC for now.

Swift SVN r32541
This commit is contained in:
John McCall
2015-10-09 01:06:06 +00:00
parent 7f975f000b
commit 9af9b9914d
11 changed files with 526 additions and 257 deletions

View File

@@ -692,14 +692,19 @@ void Remangler::mangleProtocolWitnessTable(Node *node) {
mangleSingleChildNode(node); // protocol conformance
}
void Remangler::mangleLazyProtocolWitnessTableAccessor(Node *node) {
Out << "WZ";
void Remangler::mangleProtocolWitnessTableAccessor(Node *node) {
Out << "Wa";
mangleSingleChildNode(node); // protocol conformance
}
void Remangler::mangleLazyProtocolWitnessTableTemplate(Node *node) {
Out << "Wz";
mangleSingleChildNode(node); // protocol conformance
void Remangler::mangleLazyProtocolWitnessTableAccessor(Node *node) {
Out << "Wl";
mangleChildNodes(node); // type, protocol conformance
}
void Remangler::mangleLazyProtocolWitnessTableCacheVariable(Node *node) {
Out << "WL";
mangleChildNodes(node); // type, protocol conformance
}
void Remangler::mangleDependentProtocolWitnessTableGenerator(Node *node) {