diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-17 23:02:47 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-17 23:02:47 +0000 |
commit | 1bf41320ebc2b9427bda2813998eb2e869d4d0f4 (patch) | |
tree | 8dc7afe7cb29c4f8a1378cea118b057dbc8b8444 /gcc/lto-streamer.c | |
parent | 1375c6f8ee50f0882e3bec39b0ce9e97d40c9434 (diff) | |
download | gcc-1bf41320ebc2b9427bda2813998eb2e869d4d0f4.tar.gz |
* 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
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r-- | gcc/lto-streamer.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |