class.c (build_vtbl_initializer): Clear the entire vtbl_init_data.
authorMark Mitchell <mark@codesourcery.com>
Mon, 21 Aug 2000 04:39:29 +0000 (04:39 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 21 Aug 2000 04:39:29 +0000 (04:39 +0000)
commitb485e15bf861b6eb5680c3a268036b2cdeacd656
tree57fabcf0e8d372f3efe65712e2a6e9d363273a2e
parent7171b4910c1b59ba953263a0625917ba4b7e57ee
class.c (build_vtbl_initializer): Clear the entire vtbl_init_data.

* class.c (build_vtbl_initializer): Clear the entire
vtbl_init_data.  Start keeping track of the functions for which we
have created vcall offsets here.
(dfs_build_vcall_offset_vtbl_entries): Remove.
(build_vcall_offset_vtbl_entries): Reimplement.
(add_vcall_offset_vtbl_entries_r): New function.
(add_vcall_offset_vtbl_entries_1): Likewise.  Tweak logic for
computing when vcall offsets are necessary.

From-SVN: r35828
gcc/cp/ChangeLog
gcc/cp/class.c