tree.c (hash_chainon): Remove.

* tree.c (hash_chainon): Remove.
	* cp-tree.h: Remove the corresponding prototypes.

From-SVN: r93757
This commit is contained in:
Kazu Hirata 2005-01-17 08:13:09 +00:00 committed by Kazu Hirata
parent 2e6da5d7da
commit fbf53020b5
3 changed files with 3 additions and 16 deletions

View File

@ -9,6 +9,9 @@
* pt.c (tinst_for_decl): Remove.
* cp-tree.h: Remove the corresponding prototypes.
* tree.c (hash_chainon): Remove.
* cp-tree.h: Remove the corresponding prototypes.
2005-01-15 Jakub Jelinek <jakub@redhat.com>
PR c++/19263

View File

@ -4242,7 +4242,6 @@ extern tree build_cplus_staticfn_type (tree, tree, tree);
extern tree build_cplus_array_type (tree, tree);
extern tree hash_tree_cons (tree, tree, tree);
extern tree hash_tree_chain (tree, tree);
extern tree hash_chainon (tree, tree);
extern int count_functions (tree);
extern int is_overloaded_fn (tree);
extern tree get_first_fn (tree);

View File

@ -736,21 +736,6 @@ hash_tree_chain (tree value, tree chain)
{
return hash_tree_cons (NULL_TREE, value, chain);
}
/* Similar, but used for concatenating two lists. */
tree
hash_chainon (tree list1, tree list2)
{
if (list2 == 0)
return list1;
if (list1 == 0)
return list2;
if (TREE_CHAIN (list1) == NULL_TREE)
return hash_tree_chain (TREE_VALUE (list1), list2);
return hash_tree_chain (TREE_VALUE (list1),
hash_chainon (TREE_CHAIN (list1), list2));
}
void
debug_binfo (tree elem)