File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ FUNCTION_VALUE_WITNESS(assignWithTake,
160
160
MUTABLE_VALUE_TYPE,
161
161
(MUTABLE_VALUE_TYPE, MUTABLE_VALUE_TYPE, TYPE_TYPE))
162
162
163
- // / unsigned (*getEnumTagSinglePayload)(const T* enum, UINT_TYPE emptyCases)
163
+ // / unsigned (*getEnumTagSinglePayload)(const T* enum, UINT_TYPE emptyCases,
164
+ // / M *self);
164
165
// / Given an instance of valid single payload enum with a payload of this
165
166
// / witness table's type (e.g Optional<ThisType>) , get the tag of the enum.
166
167
FUNCTION_VALUE_WITNESS(getEnumTagSinglePayload,
@@ -169,7 +170,7 @@ FUNCTION_VALUE_WITNESS(getEnumTagSinglePayload,
169
170
(IMMUTABLE_VALUE_TYPE, UINT_TYPE, TYPE_TYPE))
170
171
171
172
// / void (*storeEnumTagSinglePayload)(T* enum, UINT_TYPE whichCase,
172
- // / UINT_TYPE emptyCases)
173
+ // / UINT_TYPE emptyCases, M *self);
173
174
// / Given uninitialized memory for an instance of a single payload enum with a
174
175
// / payload of this witness table's type (e.g Optional<ThisType>), store the
175
176
// / tag.
You can’t perform that action at this time.
0 commit comments