> On Fri, May 20, 2005 at 07:41:53PM +0200, Jan Hubicka wrote: > > I am looking into that now. I would preffer the way of adding > > basic-block.h and friends into includes of insn-emit.c as in general I > > would like to make expanders/splitters/output templates aware of the > > profile (and thus BB they are in) so we can switch in between -O2/-Os on > > local basis. > > We're a *long* way from that. Please just move REG_BR_PROB_BASE > back to rtl.h. It is a property of an *rtl* note, after all.
The problem with that is that I have to include rtl.h in cgraphunit and ipa-inline.c then as well. This is not much prettier either, but sure can do that if that sounds preferable. (I meant to rename it to BR_PROB_BASE afterwards as currently the use in edge->probability is more common than the note itself) Honza > > > r~