mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Mangler] Move the SILMangler out of the AST Mangler namespace.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user