@@ -1547,88 +1547,22 @@ FUNCTION(TaskCancel,
15471547 ARGS(SwiftTaskPtrTy),
15481548 ATTRS(NoUnwind, ArgMemOnly))
15491549
1550- // AsyncTaskAndContext swift_task_create_f (
1551- // size_t flags ,
1550+ // AsyncTaskAndContext swift_task_create (
1551+ // size_t taskCreateFlags ,
15521552// TaskOptionRecord *options,
1553- // TaskContinuationFunction* function, size_t contextSize);
1554- FUNCTION(TaskCreateFunc,
1555- swift_task_create_f, SwiftCC,
1556- ConcurrencyAvailability,
1557- RETURNS(AsyncTaskAndContextTy),
1558- ARGS(SizeTy,
1559- SwiftTaskOptionRecordPtrTy,
1560- TaskContinuationFunctionPtrTy,
1561- SizeTy),
1562- ATTRS(NoUnwind, ArgMemOnly))
1563-
1564- // AsyncTaskAndContext swift_task_create_future(
1565- // size_t flags,
1566- // TaskOptionRecord *options,
1567- // const Metadata *futureResultType,
1568- // void *closureEntry, HeapObject *closureContext);
1569- FUNCTION(TaskCreateFuture,
1570- swift_task_create_future, SwiftCC,
1571- ConcurrencyAvailability,
1572- RETURNS(AsyncTaskAndContextTy),
1573- ARGS(SizeTy,
1574- SwiftTaskOptionRecordPtrTy,
1575- TypeMetadataPtrTy,
1576- Int8PtrTy,
1577- RefCountedPtrTy),
1578- ATTRS(NoUnwind, ArgMemOnly))
1579-
1580- // AsyncTaskAndContext swift_task_create_future_f(
1581- // size_t flags,
1582- // TaskOptionRecord *options,
1583- // const Metadata *futureResultType,
1584- // TaskContinuationFunction *function, size_t contextSize);
1585- FUNCTION(TaskCreateFutureFunc,
1586- swift_task_create_future_f, SwiftCC,
1587- ConcurrencyAvailability,
1588- RETURNS(AsyncTaskAndContextTy),
1589- ARGS(SizeTy,
1590- SwiftTaskOptionRecordPtrTy,
1591- TypeMetadataPtrTy,
1592- TaskContinuationFunctionPtrTy,
1593- SizeTy),
1594- ATTRS(NoUnwind, ArgMemOnly))
1595-
1596- // AsyncTaskAndContext swift_task_create_group_future(
1597- // size_t flags,
1598- // TaskGroup *group,
1599- // TaskOptionRecord *options
16001553// const Metadata *futureResultType,
16011554// void *closureEntry, HeapObject *closureContext);
1602- FUNCTION(TaskCreateGroupFuture ,
1603- swift_task_create_group_future , SwiftCC,
1555+ FUNCTION(TaskCreate ,
1556+ swift_task_create , SwiftCC,
16041557 ConcurrencyAvailability,
16051558 RETURNS(AsyncTaskAndContextTy),
16061559 ARGS(SizeTy,
1607- SwiftTaskGroupPtrTy,
16081560 SwiftTaskOptionRecordPtrTy,
16091561 TypeMetadataPtrTy,
16101562 Int8PtrTy,
16111563 RefCountedPtrTy),
16121564 ATTRS(NoUnwind, ArgMemOnly))
16131565
1614- // AsyncTaskAndContext swift_task_create_group_future_f(
1615- // size_t flags,
1616- // TaskGroup *group,
1617- // TaskOptionRecord *options
1618- // const Metadata *futureResultType,
1619- // TaskContinuationFunction *function, size_t contextSize);
1620- FUNCTION(TaskCreateGroupFutureFunc,
1621- swift_task_create_group_future_f, SwiftCC,
1622- ConcurrencyAvailability,
1623- RETURNS(AsyncTaskAndContextTy),
1624- ARGS(SizeTy,
1625- SwiftTaskGroupPtrTy,
1626- SwiftTaskOptionRecordPtrTy,
1627- TypeMetadataPtrTy,
1628- TaskContinuationFunctionPtrTy,
1629- SizeTy),
1630- ATTRS(NoUnwind, ArgMemOnly))
1631-
16321566// void swift_task_switch(AsyncContext *resumeContext,
16331567// TaskContinuationFunction *resumeFunction,
16341568// ExecutorRef newExecutor);
@@ -1742,7 +1676,7 @@ FUNCTION(DistributedActorDestroy,
17421676/// TaskOptionRecord *options,
17431677/// const Metadata *futureResultType,
17441678/// void *closureEntryPoint,
1745- /// OpaqueValue *closureContext
1679+ /// HeapObject *closureContext
17461680/// );
17471681FUNCTION(AsyncLetStart,
17481682 swift_asyncLet_start, SwiftCC,
0 commit comments