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: [lto][patch] Move input_cgraph to lto/lto-lang.c


On Mon, Oct 6, 2008 at 10:25, Rafael Espindola <espindola@google.com> wrote:

> gcc/
> 2008-10-06 Rafael Espindola  <espindola@google.com>
>
>        * cgraph.h (LTO_cgraph_tags, LCC_NOT_FOUND): Moved from lto-cgraph.c.
>        (LTO_cgraph_tag_names): declare.
>        * langhooks-def.h (lhd_input_cgraph, LANG_HOOKS_INPUT_CGRAPH): New.
>        (LANG_HOOKS_LTO): Add LANG_HOOKS_INPUT_CGRAPH.
>        * langhooks.c (lhd_input_cgraph): New.
>        * langhooks.h (lang_hooks_for_lto): Add input_cgraph.
>        * lto-cgraph.c (LTO_cgraph_tags, LCC_NOT_FOUND, input_overwrite_node,
>        input_node, input_edge, input_cgraph_1): Remove.
>        (LTO_cgraph_tag_names): Make in non-statitc.
>        (input_cgraph): Just call lang_hooks.lto.input_cgraph.
>
> gcc/lto/
> 2008-10-06 Rafael Espindola  <espindola@google.com>
>
>        * lto-lang.c: Include cgraph.h.
>        (input_overwrite_node, input_node, input_edge, input_cgraph_1,
>        input_cgraph): Moved from lto-cgraph.c.
>        (LANG_HOOKS_INPUT_CGRAPH): New.

OK.


Diego.


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