]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (merge_primary_and_secondary_vtables_p): New macro.
authorMark Mitchell <mark@codesourcery.com>
Mon, 21 Feb 2000 04:19:12 +0000 (04:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 21 Feb 2000 04:19:12 +0000 (04:19 +0000)
commit8d7a5379cdb809096ffbe653fc91785eadbfa870
tree25058cbd565f8e010653d7db6f1eae0169153ad4
parentb9f39201011701cc185c3db66fdd3e2c46d6703c
cp-tree.h (merge_primary_and_secondary_vtables_p): New macro.

* cp-tree.h (merge_primary_and_secondary_vtables_p): New macro.
* class.c (build_secondary_vtable): Reorganize.  Don't create a
new vtable under the new ABI.
(layout_vtable_decl): Don't add num_extra_vtbl_entries when
computing the size.
(build_vtbl_initializer): Don't return a CONSTRUCTOR; just return
the initializing elements.
(initialize_vtable): New function.
(dfs_finish_vtbls): Use it.
(dfs_accumulate_vtbl_inits): New function.
(finish_vtbls): Merge primary and secondary vtables under the new
ABI.
(finish_struct_1): Remove redundant call to layout_vtable_decl.
* init.c (expand_virtual_init): Deal with BINFO_VTABLEs that
aren't VAR_DECLs.

From-SVN: r32083
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/init.c
This page took 0.053736 seconds and 5 git commands to generate.