coroutines: Remove up some unused values.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 31 May 2020 18:20:43 +0000 (19:20 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 31 May 2020 18:32:01 +0000 (19:32 +0100)
commit3cf2a9e047d5621a834c8333313a5f7ef700956d
treef19d9380e6d83eeb3e2e6b83e8ad5edcb3ed1ce3
parentc25d0fa4d76cbc46078624d101ac019ff3df1142
coroutines: Remove up some unused values.

The build_new_method_call allows us to inspect the
function decl used.  In most cases, this is not used
and we can just set the parm to NULL.

gcc/cp/ChangeLog:

* coroutines.cc (build_co_await): Remove unused
variable.
(finish_co_await_expr): Likewise.
(finish_co_yield_expr): Likewise; revise comment.
gcc/cp/coroutines.cc