diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-07-12 11:35:00 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-07-12 09:35:00 +0000 |
commit | 917dd9bf1ed64884ca58a5496349d8a61be8e510 (patch) | |
tree | 31e81f54a4a391d2291ddfcd3672273db2494f18 /gcc/cgraph.c | |
parent | e0770e2aced38ba70227383838166c522940db6e (diff) | |
download | gcc-917dd9bf1ed64884ca58a5496349d8a61be8e510.zip gcc-917dd9bf1ed64884ca58a5496349d8a61be8e510.tar.gz gcc-917dd9bf1ed64884ca58a5496349d8a61be8e510.tar.bz2 |
lto.c (read_cgraph_and_symbols): Do not push DECL_INIT_IO timevar
* lto.c (read_cgraph_and_symbols): Do not push DECL_INIT_IO
timevar
(materialize_cgraph): Do not push GIMPLE_IN timevar.
* timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
(TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
* cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
(varpool_get_constructor): Push CTORS_IN timevar.
* lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT
timevar.
From-SVN: r212479
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 4cc8c9b..14e3b3d 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -3053,6 +3053,8 @@ cgraph_get_body (struct cgraph_node *node) gcc_assert (in_lto_p); + timevar_push (TV_IPA_LTO_GIMPLE_IN); + file_data = node->lto_file_data; name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); @@ -3076,6 +3078,9 @@ cgraph_get_body (struct cgraph_node *node) lto_free_section_data (file_data, LTO_section_function_body, name, data, len); lto_free_function_in_decl_state_for_node (node); + + timevar_pop (TV_IPA_LTO_GIMPLE_IN); + return true; } |