aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-05-18 01:02:47 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-05-17 23:02:47 +0000
commit922f15c273e96e7bff9fecb9c0cbd90a5709f839 (patch)
tree8dc7afe7cb29c4f8a1378cea118b057dbc8b8444 /gcc/lto-streamer.c
parent28632d639518d2d98347218a1269548fa2c22765 (diff)
downloadgcc-922f15c273e96e7bff9fecb9c0cbd90a5709f839.zip
gcc-922f15c273e96e7bff9fecb9c0cbd90a5709f839.tar.gz
gcc-922f15c273e96e7bff9fecb9c0cbd90a5709f839.tar.bz2
cgraph.h (struct ipa_replace_map): Add parm_num parameter.
* 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. From-SVN: r159517
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r--gcc/lto-streamer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c
index 153d2a7..20ce075 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);
}