@@ -3260,7 +3260,6 @@ void SILFunctionType::Profile(
32603260 llvm::FoldingSetNodeID &id,
32613261 GenericSignature genericParams,
32623262 ExtInfo info,
3263- bool isAsync,
32643263 SILCoroutineKind coroutineKind,
32653264 ParameterConvention calleeConvention,
32663265 ArrayRef<SILParameterInfo> params,
@@ -3274,7 +3273,6 @@ void SILFunctionType::Profile(
32743273 auto infoKey = info.getFuncAttrKey ();
32753274 id.AddInteger (infoKey.first );
32763275 id.AddPointer (infoKey.second );
3277- id.AddBoolean (isAsync);
32783276 id.AddInteger (unsigned (coroutineKind));
32793277 id.AddInteger (unsigned (calleeConvention));
32803278 id.AddInteger (params.size ());
@@ -3300,7 +3298,6 @@ void SILFunctionType::Profile(
33003298SILFunctionType::SILFunctionType (
33013299 GenericSignature genericSig,
33023300 ExtInfo ext,
3303- bool isAsync,
33043301 SILCoroutineKind coroutineKind,
33053302 ParameterConvention calleeConvention,
33063303 ArrayRef<SILParameterInfo> params,
@@ -3326,7 +3323,6 @@ SILFunctionType::SILFunctionType(
33263323 " Bits were dropped!" );
33273324 static_assert (SILExtInfoBuilder::NumMaskBits == NumSILExtInfoBits,
33283325 " ExtInfo and SILFunctionTypeBitfields must agree on bit size" );
3329- Bits.SILFunctionType .IsAsync = isAsync;
33303326 Bits.SILFunctionType .CoroutineKind = unsigned (coroutineKind);
33313327 NumParameters = params.size ();
33323328 if (coroutineKind == SILCoroutineKind::None) {
@@ -3470,7 +3466,7 @@ CanSILBlockStorageType SILBlockStorageType::get(CanType captureType) {
34703466
34713467CanSILFunctionType SILFunctionType::get (
34723468 GenericSignature genericSig,
3473- ExtInfo ext, bool isAsync, SILCoroutineKind coroutineKind,
3469+ ExtInfo ext, SILCoroutineKind coroutineKind,
34743470 ParameterConvention callee,
34753471 ArrayRef<SILParameterInfo> params,
34763472 ArrayRef<SILYieldInfo> yields,
@@ -3488,8 +3484,8 @@ CanSILFunctionType SILFunctionType::get(
34883484 invocationSubs = invocationSubs.getCanonical ();
34893485
34903486 llvm::FoldingSetNodeID id;
3491- SILFunctionType::Profile (id, genericSig, ext, isAsync, coroutineKind, callee,
3492- params, yields, normalResults, errorResult,
3487+ SILFunctionType::Profile (id, genericSig, ext, coroutineKind, callee, params ,
3488+ yields, normalResults, errorResult,
34933489 witnessMethodConformance,
34943490 patternSubs, invocationSubs);
34953491
@@ -3537,7 +3533,7 @@ CanSILFunctionType SILFunctionType::get(
35373533 }
35383534
35393535 auto fnType =
3540- new (mem) SILFunctionType (genericSig, ext, isAsync, coroutineKind, callee,
3536+ new (mem) SILFunctionType (genericSig, ext, coroutineKind, callee,
35413537 params, yields, normalResults, errorResult,
35423538 patternSubs, invocationSubs,
35433539 ctx, properties, witnessMethodConformance);
0 commit comments