cp-tree.h (vtbl_ptr_type_node): New variable.
authorMark Mitchell <mark@markmitchell.com>
Wed, 7 Oct 1998 02:08:55 +0000 (02:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 7 Oct 1998 02:08:55 +0000 (02:08 +0000)
commit849da744cd78bb82f78c7eb4c680088ebda3bbdb
treed6d14a05cdf4dbd537bc2d3c64ebe47d85770142
parent4c2f834629ce0babf6ffa241ae483ecaac4d1bd9
cp-tree.h (vtbl_ptr_type_node): New variable.

* cp-tree.h (vtbl_ptr_type_node): New variable.
* class.c (build_vtbl_ref): Don't indirect through the vptr; it's
already of the right type.
(finish_struct_1): Make the vptr be of type vtbl_ptr_type_node.
Simplify code to grow vtable.
* decl.c (vtbl_ptr_type_node): Define.
(init_decl_processing): Initialize it.

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