diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-31 15:47:20 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-31 13:47:20 +0000 |
commit | 5e5812126c454414459a8f9fa46b7ff3032c8c53 (patch) | |
tree | 0b6aa3ca927f90f796fadadf97fd76f1e2d242e1 /gcc/ipa-utils.h | |
parent | 4843f03206f7ee188c5f7368ec6e64da7e90a396 (diff) | |
download | gcc-5e5812126c454414459a8f9fa46b7ff3032c8c53.tar.gz |
cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
* cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
* gimple-streamer-in.c (input_gimple_stmt): Move sanity check to ...
* tree-cfg.c (verify_gimple_label): ... here.
* ipa-utils.c: Include lto-streamer.h, ipa-inline.h
(ipa_merge_profiles): New function.
* lto-streamer-in.c (lto_read_body): Take node instead of fn_decl.
(lto_input_function_body): Likewise.
* ipa-utils.h (ipa_merge_profiles): Declare.
* lto-streamer.h (lto_input_function_body): Update prototype.
(emit_label_in_global_context_p): Remove.
* lto-symtab.c: Include ipa-utils.h
(lto_cgraph_replace_node): Use ipa_merge_profiles.
From-SVN: r202131
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r-- | gcc/ipa-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 427245509b0..77ed6cee63a 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -44,6 +44,8 @@ void ipa_free_postorder_info (void); vec<cgraph_node_ptr> ipa_get_nodes_in_cycle (struct cgraph_node *); int ipa_reverse_postorder (struct cgraph_node **); tree get_base_var (tree); +void ipa_merge_profiles (struct cgraph_node *dst, + struct cgraph_node *src); /* In ipa-devirt.c */ |