]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/cp-tree.h
cp-tree.def (THUNK_DECL): Discuss vcall indices.
authorMark Mitchell <mark@codesourcery.com>
Sat, 29 Jan 2000 03:59:09 +0000 (03:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 29 Jan 2000 03:59:09 +0000 (03:59 +0000)
commitc0bbf652c53cf976d4318b2228fb96148b16b8ae
tree3e1741ec7085c29d211f549e709d89cdd7289c08
parent4fda2521e9a1b2062c07df7f26c8b49adf036833
cp-tree.def (THUNK_DECL): Discuss vcall indices.

* cp-tree.def (THUNK_DECL): Discuss vcall indices.
* cp-tree.h (BINFO_VIRTUALS): Update documentation.
(BF_DELTA): New macro.
(BF_VCALL_INDEX): Likewise.
(BF_FN): Likewise.
(THUNK_VCALL_OFFSET): Likewise.
(make_thunk): Change prototype.
* class.c (build_vtable_entry): Integrate
build_vtable_entry_for_fn.  Handle vcall indices.
(build_vtable_entry_for_fn): Remove.
(set_rtti_entry): Handle vcall indices.  Use BF_DELTA,
BF_VCALL_INDEX, BF_FN.
(modify_vtable_entry): Integrate common code from
modify_one_vtable and dfs_fixup_vtable_deltas.
(add_virtual_function): Set BF_VCALL_INDEX.
(build_vtbl_initializer): Simplify.  Use BF_DELTA, BF_VCALL_INDEX,
and BF_FN.
(modify_one_vtable): Simplify.
(dfs_fixup_vtable_deltas): Likewise.
(override_one_vtable): Use BF_DELTA, BF_VCALL_INDEX, BF_FN.
* method.c (make_thunk): Handle vcall indices.

From-SVN: r31684
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/method.c
This page took 0.055873 seconds and 5 git commands to generate.