[tree-ssa] Proper saving of function bodies

Jan Hubicka hubicka@ucw.cz
Tue Nov 25 10:25:00 GMT 2003


> On Mon, Nov 24, 2003 at 12:03:52PM +0100, Jan Hubicka wrote:
> > 	* tree-inline.c (save_body): New body
> > 	* tree-inline.h (save_body): Declare.
> > 	* tree-optimize.c (tree_rest_of_compilation): Save function tree
> > 	properly.
> 
> Ok.
> 
> > + save_body (tree fn, tree *arg_copy)
> > + {
> > +   inline_data id;
> > +   tree body, *parg;
> > + 
> > +   /* Clone the body, as if we were making an inline call.  But, remap
> > +      the parameters in the callee to the parameters of caller.  If
> > +      there's an in-charge parameter, map it to an appropriate
> > +      constant.  */
> 
> Comment from clone_body doesn't really apply.  ;-)
:) Removed.
Thanks!

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list