Re: [PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-28 Thread Martin Jambor
Hi, On Fri, Mar 25, 2011 at 05:55:24PM +0100, Jan Hubicka wrote: > > > > Index: src/gcc/passes.c > > > > === > > > > --- src.orig/gcc/passes.c 2011-03-19 01:16:23.0 +0100 > > > > +++ src/gcc/passes.c2011-03-19 01:54:

Re: [PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-25 Thread Jan Hubicka
> > Seems OK, however.. > > To what extent is this an approval? :-) Approval only after you convince me on the questions bellow. > > > > Index: src/gcc/gimplify.c > > > === > > > --- src.orig/gcc/gimplify.c 2011-03-19 01:16:2

Re: [PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-25 Thread Martin Jambor
Hi, On Wed, Mar 23, 2011 at 10:08:53AM +0100, Jan Hubicka wrote: > > 2011-03-18 Martin Jambor > > > > * cgraph.h (cgraph_node): Remove function declaration. > > (cgraph_create_node): Declare. > > (cgraph_get_create_node): Likewise. > > (cgraph_do_get_node): New function. > > >

Re: [PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-23 Thread Jan Hubicka
> 2011-03-18 Martin Jambor > > * cgraph.h (cgraph_node): Remove function declaration. > (cgraph_create_node): Declare. > (cgraph_get_create_node): Likewise. > (cgraph_do_get_node): New function. > > * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1.

[PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-19 Thread Martin Jambor
Hi, I hope I explained everything in the introductory email. This patch is the core, the subsequent ones are only small tweaks in the front ends. Let me remind you this is to be applied on top of http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01170.html. (I have tested the patch on top revision 1