Remove the old mangler.

NFC
This commit is contained in:
Erik Eckstein
2017-03-17 08:45:41 -07:00
parent b4c8b0caa2
commit 1625345b90
43 changed files with 147 additions and 3714 deletions

View File

@@ -96,8 +96,8 @@ convertToDefinition(ArrayRef<Entry> entries) {
}
Identifier SILDefaultWitnessTable::getIdentifier() const {
std::string name = NewMangling::mangleTypeAsUSR(
getProtocol()->getDeclaredType());
NewMangling::ASTMangler Mangler;
std::string name = Mangler.mangleTypeAsUSR(getProtocol()->getDeclaredType());
return Mod.getASTContext().getIdentifier(name);
}