@@ -3734,8 +3734,7 @@ static SILFunction *getOrCreateKeyPathGetter(
3734
3734
thunk->setGenericEnvironment (genericEnv);
3735
3735
}
3736
3736
SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3737
- signature = subSGF.F .getLoweredFunctionTypeInContext (
3738
- subSGF.F .getTypeExpansionContext ());
3737
+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
3739
3738
auto resultArgTy =
3740
3739
subSGF.silConv .getSILType (signature->getSingleResult (), signature,
3741
3740
subSGF.F .getTypeExpansionContext ());
@@ -3832,8 +3831,7 @@ static SILFunction *getOrCreateKeyPathSetter(
3832
3831
thunk->setGenericEnvironment (genericEnv);
3833
3832
}
3834
3833
SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3835
- signature = subSGF.F .getLoweredFunctionTypeInContext (
3836
- subSGF.F .getTypeExpansionContext ());
3834
+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
3837
3835
auto valueArgTy =
3838
3836
subSGF.silConv .getSILType (signature->getParameters ()[0 ], signature,
3839
3837
subSGF.getTypeExpansionContext ());
@@ -3968,8 +3966,7 @@ static SILFunction *getOrCreateKeyPathAppliedMethod(
3968
3966
thunk->setGenericEnvironment (genericEnv);
3969
3967
}
3970
3968
SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3971
- signature = subSGF.F .getLoweredFunctionTypeInContext (
3972
- subSGF.F .getTypeExpansionContext ());
3969
+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
3973
3970
auto resultArgTy =
3974
3971
subSGF.silConv .getSILType (signature->getSingleResult (), signature,
3975
3972
subSGF.F .getTypeExpansionContext ());
@@ -4058,8 +4055,7 @@ static SILFunction *getOrCreateUnappliedKeypathMethod(
4058
4055
thunk->setGenericEnvironment (genericEnv);
4059
4056
}
4060
4057
SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
4061
- signature = subSGF.F .getLoweredFunctionTypeInContext (
4062
- subSGF.F .getTypeExpansionContext ());
4058
+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
4063
4059
auto resultArgTy =
4064
4060
subSGF.silConv .getSILType (signature->getSingleResult (), signature,
4065
4061
subSGF.F .getTypeExpansionContext ());
0 commit comments