* cp-tree.h (build_shared_int_cst): New function.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jan 2000 22:54:23 +0000 (22:54 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jan 2000 22:54:23 +0000 (22:54 +0000)
commitf676efd00102e2845cb91d8a34c0a9f9e08fb52d
treee1f075186f74de41949ee32a597ec75cc91eb112
parent7f8aed7556eedb866d090d80db1278f6f179c826
* cp-tree.h (build_shared_int_cst): New function.
* call.c (build_over_call): Use DECL_VIRTUAL_CONTEXT, for clarity.
* class.c (modify_vtable_entry): Likewise.
(add_virtual_function): Split out code to generated shared
INTEGER_CSTs to build_share_int_cst.
(modify_all_vtables): Handle all the overridden functions here.
Add overridden functions from non-primary virtual bases to the
primary vtable.
(finish_struct_1): Adjust call to modify_all_vtables.  Add
overridden functions from non-primary bases to the vtable.
* tree.c (build_shared_int_cst): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31476 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/tree.c