]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (CLASSTYPE_VFIELDS): Move definition.
authorMark Mitchell <mark@codesourcery.com>
Mon, 3 Jan 2000 06:56:21 +0000 (06:56 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 3 Jan 2000 06:56:21 +0000 (06:56 +0000)
commit8026246fa2c7841f839987fef0117b18bfd374fe
tree72cafa3720b3e797d7cbf4cd918035d92ba9da74
parentd2c5305bdbe4a625a341df26803cd475ffe2f478
cp-tree.h (CLASSTYPE_VFIELDS): Move definition.

2000-01-02  Mark Mitchell  <mark@codesourcery.com>

* cp-tree.h (CLASSTYPE_VFIELDS): Move definition.
(BINFO_PRIMARY_MARKED_P): Use flag 5.
(SET_BINFO_PRIMARY_MARKED_P): Likewise.
(CLEAR_BINFO_PRIMARY_MARKED_P): Likewise.
(unmark_primary_bases): Remove declaration.
(unmarkedp): Declare.
(dfs_vbase_unmark): Likewise.
* class.c (determine_primary_base): Return immediately if there
are no base classes.  Call mark_primary_bases here.
(modify_all_direct_vtables): Remove.
(modify_all_indirect_vtables): Remove.
(dfs_modify_vtables_queue_p): New function.
(dfs_modify_vtables): New function.
(modify_all_vtables): Use them.
(build_base_fields): Build FIELD_DECLs for primary virtual base
classes.
(create_vtable_ptr): Don't call determine_primary_base here.
(dfs_mark_primary_bases_and_set_vbase_offsets): Rename to ...
(dfs_set_offset_for_vbases): ... this.
(layout_virtual_bases): Use it.
(layout_class_type): Call determine_primary_base here.
* search.c (unmarkedp): Make it global.
(shared_marked_p): Simplify.
(shared_unmarked_p): Likewise.
(dfs_primary_bases_queue_p): Remove.
(dfs_unmark_primary_bases): Likewise.
(unmark_primary_bases): Likewise.
(mark_primary_bases): Simplify.
(get_pure_virtuals): Don't call mark_primary_bases here.
(dfs_vbase_unmark): New function.
(get_vbase_types): Simplify.

From-SVN: r31175
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/search.c
This page took 0.059709 seconds and 5 git commands to generate.