diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-09-25 18:11:19 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-09-25 18:11:19 +0000 |
commit | cb967da5243c3fb5e9134d10349b7268bfa672b9 (patch) | |
tree | b9822ac347b37f0d1902b3559a49f92e991c61aa /gcc/cgraph.c | |
parent | 1992534f5dbf560289ae877b9ee96620949a745c (diff) | |
download | gcc-cb967da5243c3fb5e9134d10349b7268bfa672b9.zip gcc-cb967da5243c3fb5e9134d10349b7268bfa672b9.tar.gz gcc-cb967da5243c3fb5e9134d10349b7268bfa672b9.tar.bz2 |
cgraph.h (cgraph_remove_edge): Declare.
* cgraph.h (cgraph_remove_edge): Declare.
* cgraph.c (cgraph_remove_edge): Make extern.
* cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
instead of cgraph_remove_call.
From-SVN: r71784
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 43238e5..8471a72 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -68,7 +68,6 @@ static GTY(()) struct cgraph_varpool_node *cgraph_varpool_nodes; static struct cgraph_edge *create_edge (struct cgraph_node *, struct cgraph_node *); -static void cgraph_remove_edge (struct cgraph_node *, struct cgraph_node *); static hashval_t hash_node (const void *); static int eq_node (const void *, const void *); @@ -180,7 +179,7 @@ create_edge (struct cgraph_node *caller, struct cgraph_node *callee) /* Remove the edge from CALLER to CALLEE in the cgraph. */ -static void +void cgraph_remove_edge (struct cgraph_node *caller, struct cgraph_node *callee) { struct cgraph_edge **edge, **edge2; |