[lto] PATCH: change low-level CALL_EXPR representation

Sandra Loosemore sandra@codesourcery.com
Thu Aug 10 19:44:00 GMT 2006


Paolo Bonzini wrote:

> While reading the patch I noted a few particularly easy cleanups that 
> could/should be done, and just to have them written somewhere, here they 
> are.  Of course this is not related to committing the patch or not!
> 
> - move the call_expr_iterator functions to tree.h as static inlines
> 
> - use obstack_copy in temp_copy_call_expr and maybe inline it manually
> 
> - remove references to preexpand_calls in CALL_EXPR's comment, operand 2 
> is used for the static chain now.
> 
> - if you wish, move the documentation from tree.h to tree.c for 
> functions that are documented in tree.h (especially for tree_size, 
> tree_code_size, tree_operand_length since you already have changes for 
> them in lto-branch)

OK, I will get to this stuff next.  I also want to do some cleanup to try to get 
rid of some of the places that are now left consing up temporary lists, before I 
have to move on to doing other things.

-Sandra



More information about the Gcc-patches mailing list