aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-04 12:30:10 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-04 11:30:10 +0000
commit3a40c18a680f824dc4cb4ca77e0650e37052c82f (patch)
tree58cae202af2ebee37934e16f8848037db54c9be9 /gcc/cgraph.h
parentb06e8639fa88b579c1ea48123d4af902c2d7b101 (diff)
downloadgcc-3a40c18a680f824dc4cb4ca77e0650e37052c82f.zip
gcc-3a40c18a680f824dc4cb4ca77e0650e37052c82f.tar.gz
gcc-3a40c18a680f824dc4cb4ca77e0650e37052c82f.tar.bz2
cgraph.c (cgraph_release_function_body): New function.
* 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. From-SVN: r120437
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 6f2d3be..4a33d5d 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -281,6 +281,7 @@ void dump_cgraph_node (FILE *, struct cgraph_node *);
void cgraph_insert_node_to_hashtable (struct cgraph_node *node);
void cgraph_remove_edge (struct cgraph_edge *);
void cgraph_remove_node (struct cgraph_node *);
+void cgraph_release_function_body (struct cgraph_node *);
void cgraph_node_remove_callees (struct cgraph_node *node);
struct cgraph_edge *cgraph_create_edge (struct cgraph_node *,
struct cgraph_node *,