mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Remove GenericSignature params from GenericEnvironment methods.
The GenericEnvironment stores a signature internally.
This commit is contained in:
@@ -547,9 +547,8 @@ ArrayRef<Substitution> SILFunction::getForwardingSubstitutions() {
|
||||
if (!env)
|
||||
return {};
|
||||
|
||||
auto sig = getLoweredFunctionType()->getGenericSignature();
|
||||
auto *M = getModule().getSwiftModule();
|
||||
ForwardingSubs = env->getForwardingSubstitutions(M, sig);
|
||||
ForwardingSubs = env->getForwardingSubstitutions(M);
|
||||
|
||||
return *ForwardingSubs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user