aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-11-08 07:42:56 +0000
committerBen Elliston <bje@gcc.gnu.org>2004-11-08 18:42:56 +1100
commit1590235e1e2dfc3dc956501830780d1f680085b3 (patch)
tree3ded9c6619acf17ba3cafe806dc45640f501fbaa /gcc/cgraph.c
parentb8a55285ffabec4803d92012cc42a3e1729b802f (diff)
downloadgcc-1590235e1e2dfc3dc956501830780d1f680085b3.zip
gcc-1590235e1e2dfc3dc956501830780d1f680085b3.tar.gz
gcc-1590235e1e2dfc3dc956501830780d1f680085b3.tar.bz2
cgraph.h (cgraph_calls_p): Remove.
* cgraph.h (cgraph_calls_p): Remove. * cgraph.c (cgraph_calls_p): Likewise. * varray.h (varray_copy): Remove. * varray.c (varray_copy): Likewise. From-SVN: r90261
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index edde1a9..0908b6a 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -386,21 +386,6 @@ cgraph_mark_needed_node (struct cgraph_node *node)
cgraph_mark_reachable_node (node);
}
-/* Return true when CALLER_DECL calls CALLEE_DECL. */
-
-bool
-cgraph_calls_p (tree caller_decl, tree callee_decl)
-{
- struct cgraph_node *caller = cgraph_node (caller_decl);
- struct cgraph_node *callee = cgraph_node (callee_decl);
- struct cgraph_edge *edge;
-
- for (edge = callee->callers; edge && (edge)->caller != caller;
- edge = (edge->next_caller))
- continue;
- return edge != NULL;
-}
-
/* Return local info for the compiled function. */
struct cgraph_local_info *