This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-profiling-branch PATCH IPCP extensions + Function cloning


> On Wednesday 12 January 2005 11:24, Jan Hubicka wrote:
> > Actually I think the code is improperly factored here.
> 
> Yeah.
> 
> Probably init_cfg needs to be a cfg_hook...?

Perhaps.  Since seems bit weird to expect cfg_hook pointer to be
initialized properly when there is no CFG, other possibility would be
init_tree_cfg/init_rtl_cfg that will both set the hooks and care
annotations...  Both sounds fine to me.

Razya, I guess you can either implement this in your patch or keep this
things as they are right now and I will cleanup it next (it is easier to
kill dead static function rather then notice that global function is no
longer used in other modules)

Honza
> 
> Gr.
> Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]