aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-09-08 15:26:06 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-09-08 15:26:06 -0400
commitd5df7223bf191d99fe03df0e9e0f6652622563a4 (patch)
tree70fdaaab06e9ea4d611f7e8cc149c83f3760f1f3 /gcc/tree.c
parent60adb6417ce8f30013bbc760a0cf914586830aaf (diff)
downloadgcc-d5df7223bf191d99fe03df0e9e0f6652622563a4.zip
gcc-d5df7223bf191d99fe03df0e9e0f6652622563a4.tar.gz
gcc-d5df7223bf191d99fe03df0e9e0f6652622563a4.tar.bz2
tree.c (tree_find_value): Remove.
* tree.c (tree_find_value): Remove. * tree.h: Remove prototype. * varasm.c (assemble_external): Use value_member instead. From-SVN: r151534
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index a036439..010aeff 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -2003,18 +2003,6 @@ tree_last (tree chain)
return chain;
}
-/* Return the node in a chain of nodes whose value is x, NULL if not found. */
-
-tree
-tree_find_value (tree chain, tree x)
-{
- tree list;
- for (list = chain; list; list = TREE_CHAIN (list))
- if (TREE_VALUE (list) == x)
- return list;
- return NULL;
-}
-
/* Reverse the order of elements in the chain T,
and return the new head of the chain (old last element). */