This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/4] Tweaks to objc -> call graph interface
> Hi,
>
> thi is really only based on successful testing and not much analyzis
> of the context but it seems that we don't need lazy node construction
> here. It would be nice not to have it after the big patch gets in.
>
> Thanks,
>
> Martin
>
>
> 2011-03-18 Martin Jambor <mjambor@suse.cz>
>
> * objc-act.c (mark_referenced_methods): Call cgraph_do_get_node
> instead of cgraph_get_create_node.
Yes, this seems safe to me. Functions in protocols are finished and thus have
cgraph node.
Honza