r268202 - in /branches/c++-coroutines: ChangeLo...

iains@gcc.gnu.org iains@gcc.gnu.org
Wed Jan 23 20:31:00 GMT 2019


Author: iains
Date: Wed Jan 23 20:31:42 2019
New Revision: 268202

URL: https://gcc.gnu.org/viewcvs?rev=268202&root=gcc&view=rev
Log:
c++-coroutines - add a "frame needs free" field to the frame.

This is used later to determine if free needs to be called when the
frame is finished with.

2019-01-23  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc/cp/coroutines.cc (morph_fn_to_coro): Add a "frame needs free"
	field to the coro frame and set it true once malloc has set it. In
	this case of course, it's always true - but at some later time the
	elision of the frame allocation will make it meaningful.


Modified:
    branches/c++-coroutines/ChangeLog.coroutines
    branches/c++-coroutines/gcc/cp/coroutines.cc



More information about the Gcc-cvs mailing list