.: * tree.h (binfo_member): Remove.
* tree.c (binfo_member): Remove.
cp:
* cp-tree.h (vec_binfo_member): Remove.
* tree.c (vec_binfo_member): Remove.
From-SVN: r84951
+2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
+
+ * tree.h (binfo_member): Remove.
+ * tree.c (binfo_member): Remove.
+
2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
* tree.h: Include vec.h
* libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
* optabs.c (init_optabs): Don't set gcov_init_libfunc.
+VERSION_IDENT="CVS-$Name: $ $Revision: 1.46 $-$Date: 2004/07/08 15:54:45 $-UTC"
See ChangeLog.11 for earlier changes.
2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
+ * cp-tree.h (vec_binfo_member): Remove.
+ * tree.c (vec_binfo_member): Remove.
+
* cp-tree.h (struct lang_type_class): Remove vfields field.
(CLASSTYPE_VFIELDS): Remove.
(SET_BINFO_NEW_VTABLE_MARKED): Adjust.
extern tree array_type_nelts_top (tree);
extern tree break_out_target_exprs (tree);
extern tree get_type_decl (tree);
-extern tree vec_binfo_member (tree, tree);
extern tree decl_namespace_context (tree);
extern tree lvalue_type (tree);
extern tree error_type (tree);
return 0;
}
-/* Return first vector element whose BINFO_TYPE is ELEM.
- Return 0 if ELEM is not in VEC. VEC may be NULL_TREE. */
-
-tree
-vec_binfo_member (tree elem, tree vec)
-{
- int i;
-
- if (vec)
- for (i = 0; i < TREE_VEC_LENGTH (vec); ++i)
- if (same_type_p (elem, BINFO_TYPE (TREE_VEC_ELT (vec, i))))
- return TREE_VEC_ELT (vec, i);
-
- return NULL_TREE;
-}
-
/* Returns the namespace that contains DECL, whether directly or
indirectly. */
return NULL_TREE;
}
-/* Return first list element whose BINFO_TYPE is ELEM.
- Return 0 if ELEM is not in LIST. */
-
-tree
-binfo_member (tree elem, tree list)
-{
- while (list)
- {
- if (elem == BINFO_TYPE (list))
- return list;
- list = TREE_CHAIN (list);
- }
- return NULL_TREE;
-}
-
/* Return nonzero if ELEM is part of the chain CHAIN. */
int
extern tree value_member (tree, tree);
extern tree purpose_member (tree, tree);
-extern tree binfo_member (tree, tree);
extern int attribute_list_equal (tree, tree);
extern int attribute_list_contained (tree, tree);