class.c: Change vtable to be more compatible with g++ v3 abi.
authorPer Bothner <per@bothner.com>
Fri, 22 Feb 2002 23:59:39 +0000 (15:59 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 22 Feb 2002 23:59:39 +0000 (15:59 -0800)
commitdcb3680413ddbac725846769b127acad221c4588
tree8719ccea70279b765b97e8d1c61e868da1f47d74
parent9aa436984176fc93f5b441f3f667c168ab87a186
class.c: Change vtable to be more compatible with g++ v3 abi.

*  class.c:  Change vtable to be more compatible with g++ v3 abi.
(get_dispatch_table):  Prepend offset-to-top (always 0) and
type_info pointer (currently unimplemented hence NULL) to vtable.
Specifically, prepend offset-to-top and typeinfo ptr (currently null).
(make_class_data):  Variable dtable_start_offset is sizeof 2 pointers.
Adjust vtable pointers by dtable_start_offse - i.e. skip new words.
(build_dtable_decl):  Add declarations for new fields.

From-SVN: r49978
gcc/java/ChangeLog
gcc/java/class.c