> I tried to mark it as protected, by there's usage that blocks that:
>
> In file included from ../../gcc/symtab.c:40:0:
> ../../gcc/cgraph.h: In member function ?void symtab_node::unregister()?:
> ../../gcc/cgraph.h:1178:16: error: ?cgraph_node*
> cgraph_node::find_replacement()? is protected
>
Hello
On 07/11/2014 12:07 PM, Jan Hubicka wrote:
Hi,
this first patch continues with rafactoring of IPA infrastructure so that
we will have C++ API. In the patch, I transformed many global functions to
members of symtab_node and cgraph_node.
Example:
cgraph_remove_node (struct cgraph_node
> Hi,
>this first patch continues with rafactoring of IPA infrastructure so that
> we will have C++ API. In the patch, I transformed many global functions to
> members of symtab_node and cgraph_node.
>
> Example:
> cgraph_remove_node (struct cgraph_node *node) -> cgraph_node::remove (void)
>