summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-25 18:11:19 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-25 18:11:19 +0000
commit4e570444cf14995d937390901425375ad519a4a6 (patch)
treeb9822ac347b37f0d1902b3559a49f92e991c61aa /gcc/cgraphunit.c
parent8694effa9989a06b4f21ceb9c4ce58411651002d (diff)
downloadgcc-4e570444cf14995d937390901425375ad519a4a6.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 4ed3f7013c9..ded2f1980e3 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -183,7 +183,7 @@ cgraph_finalize_function (tree decl, bool nested)
memset (&node->rtl, 0, sizeof (node->rtl));
node->analyzed = false;
while (node->callees)
- cgraph_remove_call (node->decl, node->callees->callee->decl);
+ cgraph_remove_edge (node, node->callees->callee);
/* We may need to re-queue the node for assembling in case
we already proceeded it and ignored as not needed. */