mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ASTMangler] Pass ASTContext to all instantiations of ASTMangler
This commit is contained in:
@@ -376,7 +376,7 @@ void IRGenModule::emitDistributedTargetAccessor(ThunkOrRequirement target) {
|
||||
|
||||
auto targetDecl = cast<AbstractFunctionDecl>(accessorRef.getDecl());
|
||||
|
||||
IRGenMangler mangler;
|
||||
IRGenMangler mangler(Context);
|
||||
|
||||
addAccessibleFunction(AccessibleFunction::forDistributed(
|
||||
mangler.mangleDistributedThunkRecord(targetDecl),
|
||||
|
||||
Reference in New Issue
Block a user