@@ -2736,7 +2736,7 @@ static SILFunction *getOrCreateKeyPathGetter(SILGenModule &SGM,
2736
2736
2737
2737
// Add empty generic type parameter to match function signature on WebAssembly
2738
2738
if (!genericSig && Target.isOSBinFormatWasm ()) {
2739
- auto param = GenericTypeParamType::get (0 , 0 , SGM.getASTContext ());
2739
+ auto param = GenericTypeParamType::get (false , 0 , 0 , SGM.getASTContext ());
2740
2740
auto sig = GenericSignature::get (param, { });
2741
2741
genericSig = CanGenericSignature (sig);
2742
2742
genericEnv = sig.getGenericEnvironment ();
@@ -2887,7 +2887,7 @@ static SILFunction *getOrCreateKeyPathSetter(SILGenModule &SGM,
2887
2887
2888
2888
// Add empty generic type parameter to match function signature on WebAssembly
2889
2889
if (!genericSig && Target.isOSBinFormatWasm ()) {
2890
- auto param = GenericTypeParamType::get (0 , 0 , SGM.getASTContext ());
2890
+ auto param = GenericTypeParamType::get (false , 0 , 0 , SGM.getASTContext ());
2891
2891
auto sig = GenericSignature::get (param, { });
2892
2892
genericSig = CanGenericSignature (sig);
2893
2893
genericEnv = sig.getGenericEnvironment ();
@@ -3070,7 +3070,7 @@ getOrCreateKeyPathEqualsAndHash(SILGenModule &SGM,
3070
3070
3071
3071
// Add empty generic type parameter to match function signature on WebAssembly
3072
3072
if (!genericSig && Target.isOSBinFormatWasm ()) {
3073
- auto param = GenericTypeParamType::get (0 , 0 , SGM.getASTContext ());
3073
+ auto param = GenericTypeParamType::get (false , 0 , 0 , SGM.getASTContext ());
3074
3074
auto sig = GenericSignature::get (param, { });
3075
3075
genericSig = CanGenericSignature (sig);
3076
3076
genericEnv = sig.getGenericEnvironment ();
0 commit comments