This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r273163 - in /branches/c++-coroutines: ChangeLo...
- From: iains at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 06 Jul 2019 14:09:36 -0000
- Subject: r273163 - in /branches/c++-coroutines: ChangeLo...
Author: iains
Date: Sat Jul 6 14:09:36 2019
New Revision: 273163
URL: https://gcc.gnu.org/viewcvs?rev=273163&root=gcc&view=rev
Log:
c++-coroutines - Mark routine suspension state in its frame.
For at least the purpose of integrity-checking in the library, it is useful
to be able to assert that a coroutine is suspended (when that is its expected
state). We have allocated a field in the frame for this, which we are now
updating.
gcc/cp/
2019-07-06 Iain Sandoe <iain@sandoe.co.uk>
* coroutines.cc (build_actor_fn): Clear suspended status on entry
set it on suspended returns.
(build_destroy_fn): Comment change only.
(register_local_var_uses): Rename suspension status field.
(morph_fn_to_coro): Likewise. Reorder code that initialises the
field.
Modified:
branches/c++-coroutines/ChangeLog.coroutines
branches/c++-coroutines/gcc/cp/coroutines.cc