cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
authorJan Hubicka <jh@suse.cz>
Sat, 31 Aug 2013 13:47:20 +0000 (15:47 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 31 Aug 2013 13:47:20 +0000 (13:47 +0000)
commit5e5812126c454414459a8f9fa46b7ff3032c8c53
tree0b6aa3ca927f90f796fadadf97fd76f1e2d242e1
parent4843f03206f7ee188c5f7368ec6e64da7e90a396
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/ChangeLog
gcc/ipa-utils.h
gcc/lto-streamer.h
gcc/lto-symtab.c
gcc/tree-cfg.c