diff options
author | Jason Merrill <jason@redhat.com> | 2009-09-08 15:26:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-09-08 15:26:06 -0400 |
commit | d5df7223bf191d99fe03df0e9e0f6652622563a4 (patch) | |
tree | 70fdaaab06e9ea4d611f7e8cc149c83f3760f1f3 /gcc/tree.c | |
parent | 60adb6417ce8f30013bbc760a0cf914586830aaf (diff) | |
download | gcc-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.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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). */ |