mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove the old mangler.
NFC
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user