mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[CoroutineAccessors] Open code alloc fn.
Replace the runtime function with an open-coded version.
This commit is contained in:
@@ -3008,16 +3008,6 @@ FUNCTION(MemsetS, c, memset_s, C_CC, AlwaysAvailable,
|
||||
EFFECT(RuntimeEffect::NoEffect),
|
||||
UNKNOWN_MEMEFFECTS)
|
||||
|
||||
// void *swift_coro_alloc(CoroAllocator *, size_t size);
|
||||
FUNCTION(CoroAlloc,
|
||||
Swift, swift_coro_alloc, SwiftCC,
|
||||
CoroutineAccessorsAvailability,
|
||||
RETURNS(Int8PtrTy),
|
||||
ARGS(CoroAllocatorPtrTy, SizeTy),
|
||||
NO_ATTRS,
|
||||
EFFECT(RuntimeEffect::Allocating, RuntimeEffect::Concurrency),
|
||||
UNKNOWN_MEMEFFECTS)
|
||||
|
||||
// void swift_coro_dealloc(CoroAllocator *, void *ptr);
|
||||
FUNCTION(CoroDealloc,
|
||||
Swift, swift_coro_dealloc, SwiftCC,
|
||||
|
||||
Reference in New Issue
Block a user