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
This commit is contained in:
Jan Hubicka 2013-08-30 09:33:56 +02:00 committed by Jan Hubicka
parent 256eefa9a9
commit 82e9d6426c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2013-08-29 Jan Hubicka <jh@suse.cz>
* 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.
2013-08-29 Xinliang David Li <davidxl@google.com>
* loop-unroll.c (report_unroll_peel): Minor message

View File

@ -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,