tree.h (BINFO_PRIMARY_BASE_OF): Remove.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 30 Aug 2004 13:12:14 +0000 (13:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 30 Aug 2004 13:12:14 +0000 (13:12 +0000)
commitfc6633e0cf54d9d3a5f57ce6e33dfd1af8a5ac81
tree9371d0d44b6ad4b608ffaecce208e472e1bca5fc
parentbd8a2e96afaf00312fb3b0c1879e440043cf0e46
tree.h (BINFO_PRIMARY_BASE_OF): Remove.

* tree.h (BINFO_PRIMARY_BASE_OF): Remove.
(struct tree_binfo): Remove primary field.
* cp/cp-tree.h (BINFO_PRIMARY_P): Use a binfo flag.
(BINFO_INDIRECT_PRIMARY_P): Remove.
* cp/class.c (determine_primary_base): Rename to ...
(determine_primary_bases): ... here.  Set all primary bases.
(set_primary_base): Remove.
(mark_primary_bases): Remove.
(build_simple_base_path, walk_subobject_offsets,
propagate_binfo_offsets, end_of_class): Adjust.
(layout_class_type): Rename determine_primary_base call.
(dump_class_hierarchy_r, dump_vtable): Adjust. Don't pass a binfo
to type_as_string.
(dfs_build_secondary_vptr_vtt_inits, dfs_accumulate_vtbl_inits,
build_rtti_vtbl_entries): Adjust.
* cp/init.c (build_vtbl_address): Adjust.

From-SVN: r86766
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/tree.h