parse.y (create_class): Set TYPE_VFIELD.
authorAndrew Haley <aph@redhat.com>
Mon, 10 May 2004 16:21:08 +0000 (16:21 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Mon, 10 May 2004 16:21:08 +0000 (16:21 +0000)
commitaf434fa7a17e1dadd41821663b754cde38ab3810
tree3371d9b0ed0043b145595a1f169b8e3a0f013876
parent5950a3ac274c2c85e38a959e1231c75c564c9c2f
parse.y (create_class): Set TYPE_VFIELD.

2004-05-10  Andrew Haley  <aph@redhat.com>

* parse.y (create_class): Set TYPE_VFIELD.
* decl.c (java_init_decl_processing): Likewise.

* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
* class.c (make_method_value): Replace DECL_VINDEX with call to
get_method_index().
(get_dispatch_vector): Likewise.
(layout_class_method): Likewise.
Replace set of DECL_VINDEX with call to set_method_index().
(set_method_index): New function.
(get_method_index): New function.
* java-tree.h (set_method_index): New function decl.
(get_method_index): New function decl.

From-SVN: r81672
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/decl.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/parse.y