aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
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/cgraph.h
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/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 2841d25..b092301 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -157,6 +157,8 @@ struct GTY(()) ipa_replace_map
tree old_tree;
/* The new (replacing) tree. */
tree new_tree;
+ /* Parameter number to replace, when old_tree is NULL. */
+ int parm_num;
/* True when a substitution should be done, false otherwise. */
bool replace_p;
/* True when we replace a reference to old_tree. */