[PATCH] D26316: [coroutines] Build and pass coroutine_handle to await_suspend.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 4 16:55:51 PDT 2016
EricWF created this revision.
EricWF added reviewers: rsmith, GorNishanov.
EricWF added a subscriber: cfe-commits.
Herald added a subscriber: mehdi_amini.
This patch adds passing a `coroutine_handle` object to `await_suspend` calls.
It builds the `coroutine_handle` using `coroutine_handle<PromiseType>::from_address(__builtin_coro_frame())`.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9937 bytes
Desc: not available
More information about the cfe-commits