[patch] Move find_unreachable_blocks() to cfgcleanup.c.
Jan Hubicka
hubicka@ucw.cz
Sat Oct 2 12:47:00 GMT 2004
> Hi,
>
> Attached is a patch to move find_unreachable_blocks() to cfgcleanup.c
> as the only use of it is in delete_unreachable_blocks() in
> cfgcleanup.c.
>
> This way, the compiler can inline find_unreachable_blocks() into
> delete_unreachable_blocks() or use special calling conventions if it
> feels like.
>
> Bootstrapped on i686-pc-linux-gnu. OK to apply?
cfgcleanup.c is supposed to hold only the RTL implementation of the
cleanup code, so perhaps it might make more sense to move it other way
around and bring find_unreachable_blocks to cfganal as it is also used
by tree-cfg.
(cfganal already contains some code to manipulate with the CFG too)
Honza
More information about the Gcc-patches
mailing list