Re: [PATCH 4/7] Removal of cgraph_node function

2011-04-11 Thread Martin Jambor
Hi, On Mon, Apr 11, 2011 at 12:28:36PM +0200, Jan Hubicka wrote: > > 2011-04-06 Martin Jambor > > > > * cgraph.h (cgraph_node): Remove function declaration. > > (cgraph_create_node): Declare. > > (cgraph_get_create_node): Likewise. > > > > * cgraph.c (cgraph_create_node): Rena

Re: [PATCH 4/7] Removal of cgraph_node function

2011-04-11 Thread Jan Hubicka
> 2011-04-06 Martin Jambor > > * cgraph.h (cgraph_node): Remove function declaration. > (cgraph_create_node): Declare. > (cgraph_get_create_node): Likewise. > > * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. > Updated all callers. > (cgrap

[PATCH 4/7] Removal of cgraph_node function

2011-04-06 Thread Martin Jambor
This patch contains the rest of the changes required to remove cgraph_node function. First, new functions cgraph_create_node and cgraph_get_create_node are introduced. The former creates a new node for decl (and aborts compilation if th node already exists) and the latter creates it if it does no