[C++ coroutines 2/6] Define builtins and internal functions.

Jeff Law law@redhat.com
Sun Nov 17 16:54:00 GMT 2019


On 11/17/19 3:24 AM, Iain Sandoe wrote:
> 
> This part of the patch series provides the builtin functions
> used by the standard library code and the internal functions
> used to implement lowering of the coroutine state machine.
> 
> gcc/ChangeLog:
> 
> 2019-11-17  Iain Sandoe  <iain@sandoe.co.uk>
> 
> 	* builtin-types.def (BT_FN_BOOL_PTR): New.
> 	(BT_FN_PTR_PTR_SIZE_BOOL): New.
> 	* builtins.def (DEF_COROUTINE_BUILTIN): New.
> 	* coroutine-builtins.def: New file.
> 	* internal-fn.c (expand_CO_FRAME): New.
> 	(expand_CO_YIELD): New.
> 	(expand_CO_SUSPN): New.
> 	(expand_CO_ACTOR): New.
> 	* internal-fn.def (CO_ACTOR): New.
> 	(CO_YIELD): New.
> 	(CO_SUSPN): New.
> 	(CO_FRAME): New.
This is OK as would be any minor adjustments you may ultimately need due
to other feedback on the kit.

jeff



More information about the Libstdc++ mailing list