From 5e5812126c454414459a8f9fa46b7ff3032c8c53 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 31 Aug 2013 15:47:20 +0200 Subject: 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 --- gcc/ipa-utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/ipa-utils.h') 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 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 */ -- cgit v1.2.1