@@ -2226,9 +2226,8 @@ class ParameterTypeFlags {
22262226 NoDerivative = 1 << 6 ,
22272227 Isolated = 1 << 7 ,
22282228 CompileTimeConst = 1 << 8 ,
2229- ResultDependsOn = 1 << 9 ,
2230- Sending = 1 << 10 ,
2231- NumBits = 11
2229+ Sending = 1 << 9 ,
2230+ NumBits = 10
22322231 };
22332232 OptionSet<ParameterFlags> value;
22342233 static_assert (NumBits <= 8 *sizeof (OptionSet<ParameterFlags>), " overflowed" );
@@ -2243,22 +2242,20 @@ class ParameterTypeFlags {
22432242
22442243 ParameterTypeFlags (bool variadic, bool autoclosure, bool nonEphemeral,
22452244 ParamSpecifier specifier, bool isolated, bool noDerivative,
2246- bool compileTimeConst, bool hasResultDependsOn,
2247- bool isSending)
2245+ bool compileTimeConst, bool isSending)
22482246 : value((variadic ? Variadic : 0 ) | (autoclosure ? AutoClosure : 0 ) |
22492247 (nonEphemeral ? NonEphemeral : 0 ) |
22502248 uint8_t (specifier) << SpecifierShift | (isolated ? Isolated : 0 ) |
22512249 (noDerivative ? NoDerivative : 0 ) |
22522250 (compileTimeConst ? CompileTimeConst : 0 ) |
2253- (hasResultDependsOn ? ResultDependsOn : 0 ) |
22542251 (isSending ? Sending : 0 )) {}
22552252
22562253 // / Create one from what's present in the parameter type
22572254 inline static ParameterTypeFlags
22582255 fromParameterType (Type paramTy, bool isVariadic, bool isAutoClosure,
22592256 bool isNonEphemeral, ParamSpecifier ownership,
22602257 bool isolated, bool isNoDerivative, bool compileTimeConst,
2261- bool hasResultDependsOn, bool isSending);
2258+ bool isSending);
22622259
22632260 bool isNone () const { return !value; }
22642261 bool isVariadic () const { return value.contains (Variadic); }
@@ -2270,7 +2267,6 @@ class ParameterTypeFlags {
22702267 bool isIsolated () const { return value.contains (Isolated); }
22712268 bool isCompileTimeConst () const { return value.contains (CompileTimeConst); }
22722269 bool isNoDerivative () const { return value.contains (NoDerivative); }
2273- bool hasResultDependsOn () const { return value.contains (ResultDependsOn); }
22742270 bool isSending () const { return value.contains (Sending); }
22752271
22762272 // / Get the spelling of the parameter specifier used on the parameter.
@@ -2433,7 +2429,6 @@ class YieldTypeFlags {
24332429 /* nonEphemeral*/ false , getOwnershipSpecifier (),
24342430 /* isolated*/ false , /* noDerivative*/ false ,
24352431 /* compileTimeConst*/ false ,
2436- /* hasResultDependsOn*/ false ,
24372432 /* is transferring*/ false );
24382433 }
24392434
@@ -7771,7 +7766,7 @@ inline TupleTypeElt TupleTypeElt::getWithType(Type T) const {
77717766inline ParameterTypeFlags ParameterTypeFlags::fromParameterType (
77727767 Type paramTy, bool isVariadic, bool isAutoClosure, bool isNonEphemeral,
77737768 ParamSpecifier ownership, bool isolated, bool isNoDerivative,
7774- bool compileTimeConst, bool hasResultDependsOn, bool isSending) {
7769+ bool compileTimeConst, bool isSending) {
77757770 // FIXME(Remove InOut): The last caller that needs this is argument
77767771 // decomposition. Start by enabling the assertion there and fixing up those
77777772 // callers, then remove this, then remove
@@ -7781,9 +7776,8 @@ inline ParameterTypeFlags ParameterTypeFlags::fromParameterType(
77817776 ownership == ParamSpecifier::InOut);
77827777 ownership = ParamSpecifier::InOut;
77837778 }
7784- return {isVariadic, isAutoClosure, isNonEphemeral,
7785- ownership, isolated, isNoDerivative,
7786- compileTimeConst, hasResultDependsOn, isSending};
7779+ return {isVariadic, isAutoClosure, isNonEphemeral, ownership,
7780+ isolated, isNoDerivative, compileTimeConst, isSending};
77877781}
77887782
77897783inline const Type *BoundGenericType::getTrailingObjectsPointer () const {
0 commit comments