aboutsummaryrefslogtreecommitdiff
path: root/libgo/misc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-07-07 19:53:45 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-09-03 19:42:31 +0100
commita45a7ecdf34311587daa2e90cc732adcefac447b (patch)
treef8675367a2a5f0cd9bbd6750275aa5cea3526683 /libgo/misc
parent88974974d8188cf12e87e4ad3d23a8cbdd557f0e (diff)
downloadgcc-a45a7ecdf34311587daa2e90cc732adcefac447b.zip
gcc-a45a7ecdf34311587daa2e90cc732adcefac447b.tar.gz
gcc-a45a7ecdf34311587daa2e90cc732adcefac447b.tar.bz2
coroutines: Add a helper for creating local vars.
This is primarily code factoring, but we take this opportunity to rename some of the implementation variables (which we intend to expose to debugging) so that they are in the implementation namespace. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/cp/ChangeLog: * coroutines.cc (coro_build_artificial_var): New. (build_actor_fn): Use var builder, rename vars to use implementation namespace. (coro_rewrite_function_body): Likewise. (morph_fn_to_coro): Likewise.
Diffstat (limited to 'libgo/misc')
0 files changed, 0 insertions, 0 deletions