aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-08-30 09:33:56 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-08-30 07:33:56 +0000
commit82e9d6426cfbfd4765d2d10b1a4c097a83ca264f (patch)
tree013855423ebaaf569f0b267ce032255e56262eaf /gcc/lto-streamer.h
parent256eefa9a9497fae8dcc8bb96c8a28dd9c3e6dc8 (diff)
downloadgcc-82e9d6426cfbfd4765d2d10b1a4c097a83ca264f.zip
gcc-82e9d6426cfbfd4765d2d10b1a4c097a83ca264f.tar.gz
gcc-82e9d6426cfbfd4765d2d10b1a4c097a83ca264f.tar.bz2
lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state.
* 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. From-SVN: r202094
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index e7c89f1..663ab24 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,