Skip to content
Snippets Groups Projects
Commit fe545ea3 authored by Iain Sandoe's avatar Iain Sandoe
Browse files

c++, coroutines: Use finish_if_stmt in a missed case.


Just shorter code.

gcc/cp/ChangeLog:

	* coroutines.cc
	(cp_coroutine_transform::wrap_original_function_body): Use
	finish_if_stmt instead of manually applying the same process.

Signed-off-by: default avatarIain Sandoe <iain@sandoe.co.uk>
parent 3e4ca896
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment