diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-04 11:30:10 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-04 11:30:10 +0000 |
commit | b62f482da3af0ea47125e2d70c1670b3b9eaf411 (patch) | |
tree | 58cae202af2ebee37934e16f8848037db54c9be9 /gcc/tree-optimize.c | |
parent | e08087848d41ad8f4cbd6954cc6e867fcd15f7ec (diff) | |
download | gcc-b62f482da3af0ea47125e2d70c1670b3b9eaf411.tar.gz |
* cgraph.c (cgraph_release_function_body): New function.
(cgraph_remove_node): Use it.
* cgraph.h (cgraph_release_function_body): Declare.
* cgraphunit.c (cgraph_expand_function): Use it.
* ipa.c (cgraph_remove_unreahchable_nodes): Use it.
* tree-ssa.c (delete_tree_ssa): Allow to be called before aliasing
is initialized and while compilation of other function is running.
* tree-optimize.c (execute_free_cfg_annotations): Move code to clear
statement CFG annotations from here to ...
* tree-cfg.c (delete_tree_cfg_annotations): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 5be07cb07c5..75df4cc54e6 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -241,21 +241,9 @@ struct tree_opt_pass pass_free_datastructures = static unsigned int execute_free_cfg_annotations (void) { - basic_block bb; - block_stmt_iterator bsi; - /* Emit gotos for implicit jumps. */ disband_implicit_edges (); - /* Remove annotations from every tree in the function. */ - FOR_EACH_BB (bb) - for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) - { - tree stmt = bsi_stmt (bsi); - ggc_free (stmt->base.ann); - stmt->base.ann = NULL; - } - /* And get rid of annotations we no longer need. */ delete_tree_cfg_annotations (); |