@@ -3734,8 +3734,7 @@ static SILFunction *getOrCreateKeyPathGetter(
37343734 thunk->setGenericEnvironment (genericEnv);
37353735 }
37363736 SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3737- signature = subSGF.F .getLoweredFunctionTypeInContext (
3738- subSGF.F .getTypeExpansionContext ());
3737+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
37393738 auto resultArgTy =
37403739 subSGF.silConv .getSILType (signature->getSingleResult (), signature,
37413740 subSGF.F .getTypeExpansionContext ());
@@ -3832,8 +3831,7 @@ static SILFunction *getOrCreateKeyPathSetter(
38323831 thunk->setGenericEnvironment (genericEnv);
38333832 }
38343833 SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3835- signature = subSGF.F .getLoweredFunctionTypeInContext (
3836- subSGF.F .getTypeExpansionContext ());
3834+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
38373835 auto valueArgTy =
38383836 subSGF.silConv .getSILType (signature->getParameters ()[0 ], signature,
38393837 subSGF.getTypeExpansionContext ());
@@ -3968,8 +3966,7 @@ static SILFunction *getOrCreateKeyPathAppliedMethod(
39683966 thunk->setGenericEnvironment (genericEnv);
39693967 }
39703968 SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
3971- signature = subSGF.F .getLoweredFunctionTypeInContext (
3972- subSGF.F .getTypeExpansionContext ());
3969+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
39733970 auto resultArgTy =
39743971 subSGF.silConv .getSILType (signature->getSingleResult (), signature,
39753972 subSGF.F .getTypeExpansionContext ());
@@ -4058,8 +4055,7 @@ static SILFunction *getOrCreateUnappliedKeypathMethod(
40584055 thunk->setGenericEnvironment (genericEnv);
40594056 }
40604057 SILGenFunction subSGF (SGM, *thunk, SGM.SwiftModule );
4061- signature = subSGF.F .getLoweredFunctionTypeInContext (
4062- subSGF.F .getTypeExpansionContext ());
4058+ signature = subSGF.F .getLoweredFunctionTypeInContext ();
40634059 auto resultArgTy =
40644060 subSGF.silConv .getSILType (signature->getSingleResult (), signature,
40654061 subSGF.F .getTypeExpansionContext ());
0 commit comments