diff options
author | Jan Hubicka <jh@suse.cz> | 2010-05-10 18:13:52 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-05-10 16:13:52 +0000 |
commit | 5c4f225fcfbad841f98fe6b7813bf07de8817cea (patch) | |
tree | af4fa061a1b315f2199661fa8e32fbeec97d0a94 /gcc/lto-streamer-out.c | |
parent | de61f46712258bf735c5173e92655569bc732f13 (diff) | |
download | gcc-5c4f225fcfbad841f98fe6b7813bf07de8817cea.zip gcc-5c4f225fcfbad841f98fe6b7813bf07de8817cea.tar.gz gcc-5c4f225fcfbad841f98fe6b7813bf07de8817cea.tar.bz2 |
passes.c (ipa_write_summaries_1, [...]): Allocate encoders.
* passes.c (ipa_write_summaries_1, ipa_write_optimization_summaries): Allocate
encoders.
* lto-section-out.c (lto_new_out_decl_state): Do not allocate it here.
* lto-streamer.c (lto_streamer_cache_insert_1): Use alloc pool.
(lto_streamer_cache_create): Init alloc pool.
(lto_streamer_cache_delete): Free alloc pool.
* lto-streamer.h: Include alloc pool.
(lto_streamer_cache_d): Use alloc pool.
* lto-stramer-out.c (produce_asm_for_decls): Delete fn_out_states.
From-SVN: r159230
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index cffaee5..86f2c73 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2505,6 +2505,7 @@ produce_asm_for_decls (cgraph_node_set set, varpool_node_set vset) fn_out_state = VEC_index (lto_out_decl_state_ptr, lto_function_decl_states, idx); lto_output_decl_state_refs (ob, decl_state_stream, fn_out_state); + lto_delete_out_decl_state (fn_out_state); } lto_write_stream (decl_state_stream); free(decl_state_stream); |