> 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 <mjam...@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