Skip to main content

Module drop

Module drop 

Source
Expand description

Drops and async drops related logic for coroutine transformation pass

StructsΒ§

FixReturnPendingVisitor πŸ”’

FunctionsΒ§

create_coroutine_drop_shim πŸ”’
create_coroutine_drop_shim_async πŸ”’
create_coroutine_drop_shim_proxy_async πŸ”’
elaborate_coroutine_drops πŸ”’
has_async_drops πŸ”’
Drop elaboration has transformed all async drops into yield loops. The resulting coroutine needs async drop if it yields on a path reachable through β€˜drop’ targets of a Yield terminator.
insert_clean_drop πŸ”’