From 1bf41320ebc2b9427bda2813998eb2e869d4d0f4 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 17 May 2010 23:02:47 +0000 Subject: * cgraph.h (struct ipa_replace_map): Add parm_num parameter. * lto-cgraph.c (output_cgraph_opt_summary, input_cgraph_opt_summary): New functions. (output_cgraph): Call output_cgraph_opt_summary. (input_cgrpah): Call input_cgraph_opt_summary. (output_cgraph_opt_summary_p, output_node_opt_summary, input_node_opt_summary, input_cgraph_opt_section): New functions. * lto-section-in.c (lto_section_name): Add cgraphopt. * tree-inline.c (tree_function_versioning): Handle parm_num. * lto-streamer.c (lto_get_section_name): Handle cgraphopt. * lto-streamer.h (lto_section_type): Add LTO_section_cgraph_opt_sum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159517 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/lto-streamer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/lto-streamer.c') diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 153d2a78608..20ce0751d3d 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -178,6 +178,9 @@ lto_get_section_name (int section_type, const char *name) case LTO_section_opts: return concat (LTO_SECTION_NAME_PREFIX, ".opts", NULL); + case LTO_section_cgraph_opt_sum: + return concat (LTO_SECTION_NAME_PREFIX, ".cgraphopt", NULL); + default: internal_error ("bytecode stream: unexpected LTO section %s", name); } -- cgit v1.2.1