diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-31 13:44:46 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-31 13:44:46 +0000 |
commit | 7e4b741c99f9864dabdb46d614c5dc23c0e9f7b6 (patch) | |
tree | d06573f8980bf9312721db9d6677d8f26547ca5d /gcc/cgraph.c | |
parent | 30c45111a67fb9975b884bdfc663caf45e1f4a73 (diff) | |
download | gcc-7e4b741c99f9864dabdb46d614c5dc23c0e9f7b6.tar.gz |
* cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
* gimple-streamer-in.c (input_gimple_stmt): Move sanity check to ...
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202130 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 88d7d985419..a240bfc49ac 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -3111,7 +3111,7 @@ cgraph_get_body (struct cgraph_node *node) gcc_assert (DECL_STRUCT_FUNCTION (decl) == NULL); - lto_input_function_body (file_data, node->symbol.decl, data); + lto_input_function_body (file_data, node, data); lto_stats.num_function_bodies++; lto_free_section_data (file_data, LTO_section_function_body, name, data, len); |