mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ASTMangler] Pass ASTContext to all instantiations of ASTMangler
This commit is contained in:
@@ -657,7 +657,7 @@ SILModule::lookUpDifferentiabilityWitness(StringRef name) {
|
||||
|
||||
SILDifferentiabilityWitness *
|
||||
SILModule::lookUpDifferentiabilityWitness(SILDifferentiabilityWitnessKey key) {
|
||||
Mangle::ASTMangler mangler;
|
||||
Mangle::ASTMangler mangler(getASTContext());
|
||||
return lookUpDifferentiabilityWitness(
|
||||
mangler.mangleSILDifferentiabilityWitness(
|
||||
key.originalFunctionName, key.kind, key.config));
|
||||
|
||||
Reference in New Issue
Block a user