summaryrefslogtreecommitdiff
path: root/gcc/lto-section-out.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-10 16:13:52 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-10 16:13:52 +0000
commita33890d064f843e2d810f02b80c0e049df944e51 (patch)
treeaf4fa061a1b315f2199661fa8e32fbeec97d0a94 /gcc/lto-section-out.c
parent122217458886bdc3d5be91b21f593eaab20a6a3f (diff)
downloadgcc-a33890d064f843e2d810f02b80c0e049df944e51.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-section-out.c')
-rw-r--r--gcc/lto-section-out.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index 8bcbdd7e0e7..b5353f34af2 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -542,9 +542,6 @@ lto_new_out_decl_state (void)
lto_init_tree_ref_encoder (&state->streams[i], hash_fn, eq_fn);
}
- state->cgraph_node_encoder = lto_cgraph_encoder_new ();
- state->varpool_node_encoder = lto_varpool_encoder_new ();
-
return state;
}