[PATCH] Split log links creation from flow.c
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Sun Feb 16 09:35:00 GMT 2003
Hello,
> > this is first part of an attempt to clean up flow.c a bit. It splits
> > log links creation out of it.
>
> Why do we want to do this? It seems natural to collect this
> information simultaneous with life info, since they're related.
-- TODO list in flow.c wanted that
-- log links are IMHO very little related to life info
-- they are part of mess in flow.c that basically prevents any sane
attempt to rework it in more efficient fashion
-- they are computed exactly once; it makes little sense to slow down
every liveness (re)computation pass due to them (this is a very weak
argument, as except for checking one flag there is no slowdown...)
-- I dislike this kind of "I do everything" passes; it took me two days
just to puzzle out what exactly is flow.c doing. I would eventually
like to transform greatest part of flow.c into using much cleaner
interface of df.c.
Zdenek
More information about the Gcc-patches
mailing list