@@ -117,27 +117,22 @@ class MakeAbstractConformanceForGenericType {
117117
118118// / Flags that can be passed when substituting into a type.
119119enum class SubstFlags {
120- // / Allow substitutions to recurse into SILFunctionTypes. Normally,
121- // / SILType::subst() should be used for lowered types, however in special
122- // / cases where the substitution is just changing between contextual and
123- // / interface type representations, using Type::subst() is allowed.
124- AllowLoweredTypes = 0x01 ,
125120 // / Map member types to their desugared witness type.
126- DesugarMemberTypes = 0x02 ,
121+ DesugarMemberTypes = 0x01 ,
127122 // / Allow primary archetypes to themselves be the subject of substitution.
128123 // / Otherwise, we map them out of context first.
129- SubstitutePrimaryArchetypes = 0x04 ,
124+ SubstitutePrimaryArchetypes = 0x02 ,
130125 // / Allow opaque archetypes to themselves be the subject of substitution,
131126 // / used when erasing them to their underlying types. Otherwise, we
132127 // / recursively substitute their substitutions, instead, preserving the
133128 // / opaque archetype.
134- SubstituteOpaqueArchetypes = 0x08 ,
129+ SubstituteOpaqueArchetypes = 0x04 ,
135130 // / Allow local archetypes to themselves be the subject of substitution.
136- SubstituteLocalArchetypes = 0x10 ,
131+ SubstituteLocalArchetypes = 0x08 ,
137132 // / Don't increase pack expansion level for free pack references.
138133 // / Do not introduce new usages of this flag.
139134 // / FIXME: Remove this.
140- PreservePackExpansionLevel = 0x20 ,
135+ PreservePackExpansionLevel = 0x10 ,
141136};
142137
143138// / Options for performing substitutions into a type.
0 commit comments