diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-30 07:33:56 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-30 07:33:56 +0000 |
commit | a1e7a7babcac7905de08bbeec5d716d256b0fea3 (patch) | |
tree | 013855423ebaaf569f0b267ce032255e56262eaf /gcc/lto-streamer.h | |
parent | 5f74a0740ef4284ab6d53f079fa304a253abd759 (diff) | |
download | gcc-a1e7a7babcac7905de08bbeec5d716d256b0fea3.tar.gz |
* lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state.
* cgraph.c (cgraph_release_function_body): Free decl_in_state.
* lto-section-in.c (lto_free_function_in_decl_state): New function.
(lto_free_function_in_decl_state_for_node): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r-- | gcc/lto-streamer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index e7c89f16162..663ab24aa05 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -774,6 +774,8 @@ extern hashval_t lto_hash_in_decl_state (const void *); extern int lto_eq_in_decl_state (const void *, const void *); extern struct lto_in_decl_state *lto_get_function_in_decl_state ( struct lto_file_decl_data *, tree); +extern void lto_free_function_in_decl_state (struct lto_in_decl_state *); +extern void lto_free_function_in_decl_state_for_node (symtab_node); extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; extern void lto_value_range_error (const char *, HOST_WIDE_INT, HOST_WIDE_INT, |