[Mangler] Move the SILMangler out of the AST Mangler namespace.

This commit is contained in:
Nadav Rotem
2015-12-22 16:41:30 -08:00
parent b3fe53cff9
commit a981c80571
8 changed files with 15 additions and 15 deletions

View File

@@ -389,8 +389,8 @@ static void rewriteApplyInst(const CallSiteDescriptor &CSDesc,
void CallSiteDescriptor::createName(llvm::SmallString<64> &NewName) const {
llvm::raw_svector_ostream buffer(NewName);
Mangle::Mangler M(buffer);
auto P = Mangle::SpecializationPass::ClosureSpecializer;
Mangle::FunctionSignatureSpecializationMangler FSSM(P, M, getApplyCallee());
auto P = SpecializationPass::ClosureSpecializer;
FunctionSignatureSpecializationMangler FSSM(P, M, getApplyCallee());
if (auto *PAI = dyn_cast<PartialApplyInst>(getClosure())) {
FSSM.setArgumentClosureProp(getClosureIndex(), PAI);
FSSM.mangle();