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/varasm.c | |
parent | 60adb6417ce8f30013bbc760a0cf914586830aaf (diff) | |
download | gcc-d5df7223bf191d99fe03df0e9e0f6652622563a4.tar.gz |
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/varasm.c')
-rw-r--r-- | gcc/varasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 864ab16671f..a7fa83fc107 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2328,11 +2328,11 @@ assemble_external (tree decl ATTRIBUTE_UNUSED) for declarations that can be weak, it happens to be match. */ && !TREE_STATIC (decl) - && tree_find_value (weak_decls, decl) == NULL_TREE) - weak_decls = tree_cons (NULL, decl, weak_decls); + && value_member (decl, weak_decls) == NULL_TREE) + weak_decls = tree_cons (NULL, decl, weak_decls); #ifdef ASM_OUTPUT_EXTERNAL - if (tree_find_value (pending_assemble_externals, decl) == NULL_TREE) + if (value_member (decl, pending_assemble_externals) == NULL_TREE) pending_assemble_externals = tree_cons (NULL, decl, pending_assemble_externals); #endif |