@@ -117,27 +117,22 @@ class MakeAbstractConformanceForGenericType {
117
117
118
118
// / Flags that can be passed when substituting into a type.
119
119
enum 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 ,
125
120
// / Map member types to their desugared witness type.
126
- DesugarMemberTypes = 0x02 ,
121
+ DesugarMemberTypes = 0x01 ,
127
122
// / Allow primary archetypes to themselves be the subject of substitution.
128
123
// / Otherwise, we map them out of context first.
129
- SubstitutePrimaryArchetypes = 0x04 ,
124
+ SubstitutePrimaryArchetypes = 0x02 ,
130
125
// / Allow opaque archetypes to themselves be the subject of substitution,
131
126
// / used when erasing them to their underlying types. Otherwise, we
132
127
// / recursively substitute their substitutions, instead, preserving the
133
128
// / opaque archetype.
134
- SubstituteOpaqueArchetypes = 0x08 ,
129
+ SubstituteOpaqueArchetypes = 0x04 ,
135
130
// / Allow local archetypes to themselves be the subject of substitution.
136
- SubstituteLocalArchetypes = 0x10 ,
131
+ SubstituteLocalArchetypes = 0x08 ,
137
132
// / Don't increase pack expansion level for free pack references.
138
133
// / Do not introduce new usages of this flag.
139
134
// / FIXME: Remove this.
140
- PreservePackExpansionLevel = 0x20 ,
135
+ PreservePackExpansionLevel = 0x10 ,
141
136
};
142
137
143
138
// / Options for performing substitutions into a type.
0 commit comments