File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ struct ResultTypeInfo {
240
240
void (*initializeWithCopy)(OpaqueValue *result, OpaqueValue *src) = nullptr;
241
241
void (*storeEnumTagSinglePayload)(OpaqueValue *v, unsigned whichCase,
242
242
unsigned emptyCases) = nullptr;
243
- void (*destroy)(OpaqueValue *) = nullptr;
243
+ void (*destroy)(OpaqueValue *, void * ) = nullptr;
244
244
245
245
bool isNull () {
246
246
return initializeWithCopy == nullptr ;
@@ -259,7 +259,7 @@ struct ResultTypeInfo {
259
259
storeEnumTagSinglePayload (v, whichCase, emptyCases);
260
260
}
261
261
void vw_destroy (OpaqueValue *v) {
262
- destroy (v);
262
+ destroy (v, nullptr );
263
263
}
264
264
#endif
265
265
};
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class AsyncLetWithBufferTaskOptionRecord : public TaskOptionRecord {
199
199
AsyncLet *getAsyncLet () const {
200
200
return asyncLet;
201
201
}
202
-
202
+
203
203
void *getResultBuffer () const {
204
204
return resultBuffer;
205
205
}
@@ -224,7 +224,7 @@ class ResultTypeInfoTaskOptionRecord : public TaskOptionRecord {
224
224
storeEnumTagSinglePayload)(OpaqueValue *, unsigned , unsigned );
225
225
226
226
void (*__ptrauth_swift_value_witness_function_pointer (
227
- SpecialPointerAuthDiscriminators::Destroy) destroy)(OpaqueValue *);
227
+ SpecialPointerAuthDiscriminators::Destroy) destroy)(OpaqueValue *, void * );
228
228
229
229
static bool classof (const TaskOptionRecord *record) {
230
230
return record->getKind () == TaskOptionRecordKind::ResultTypeInfo;
You can’t perform that action at this time.
0 commit comments