Re: [PATCH] refactor common bits of building CALL_EXPRs

2011-03-22 Thread Diego Novillo
On Tue, Mar 22, 2011 at 08:32, Nathan Froyd wrote: > The knowledge that building a CALL_EXPR requires three additional > arguments is scattered about tree.c; the patch below centralizes that > knowledge in a common function, build_call_1.  This function can also > take care of setting up the non-a

[PATCH] refactor common bits of building CALL_EXPRs

2011-03-22 Thread Nathan Froyd
The knowledge that building a CALL_EXPR requires three additional arguments is scattered about tree.c; the patch below centralizes that knowledge in a common function, build_call_1. This function can also take care of setting up the non-argument fields of CALL_EXPRs. Tested on x86_64-unknown-linu