cp-tree.h (vcall_offset_in_vtable_p): New macro.
authorMark Mitchell <mark@codesourcery.com>
Tue, 25 Jan 2000 23:26:21 +0000 (23:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 25 Jan 2000 23:26:21 +0000 (23:26 +0000)
commit1a588ad7522098037aaa4b5989824dfc2e1dd5a9
treeac98c635afddd4791e9c8c208dfa2a653df0b4a1
parent0534b8047e8a12c4748f70a7bbb3267319c21216
cp-tree.h (vcall_offset_in_vtable_p): New macro.

* cp-tree.h (vcall_offset_in_vtable_p): New macro.
* class.c (build_vbase_offset_vtbl_entries): Fix typo in commment.
(struct vcall_offset_data_s): New type.
(dfs_vcall_offset_queue_p): New function.
(dfs_build_vcall_offset_vtbl_entries): Likewise.
(build_vcall_offset_vtbl_entries): Likewise.
(layout_vtable_decl): Likewise.
(num_vfun_entries): Likewise.
(num_extra_vtbl_entries): Add the entries for vcall offsets.
(build_vtbl_initializer): Likewise.
(dfs_finish_vtabls): Use layout_vtable_decl.
(modify_one_vtables): Always duplicate vtables under the new ABI.
(finish_struct_1): Use layout_vtable_decl.

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