]> gcc.gnu.org Git - gcc.git/commit
decl.c (init_decl_processing): Added new class fields `depth', `ancestors', and ...
authorBryce McKinlay <bryce@albatross.co.nz>
Tue, 7 Mar 2000 08:58:26 +0000 (08:58 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 7 Mar 2000 08:58:26 +0000 (00:58 -0800)
commit173f556ccc41ea93cf66896d0c7778241467407f
tree7f5247f181780723c8e8790acc8c5afc9d20e754
parentf2d2acce60eb9ec6ba79c3619a949c84d130b60e
decl.c (init_decl_processing): Added new class fields `depth', `ancestors', and `idt' to class_type_node.

2000-03-06  Bryce McKinlay  <bryce@albatross.co.nz>

* decl.c (init_decl_processing): Added new class fields `depth',
`ancestors', and `idt' to class_type_node. Use
_Jv_LookupInterfaceMethodIdx for soft_lookupinterfacemthod_node.
* class.c (make_class_data): Push initial values for new fields.
* java-tree.h: Updated prototype for `build_invokeinterface'.
* expr.c (build_invokeinterface): Changed parameters to accept
`method' tree. Calculate index of `method' in its declaring
interface. Build call to _Jv_LookupInterfaceMethodIdx.
(expand_invoke): Call `build_invokeinterface' with new parameters.
* parse.y (patch_invoke): Call `build_invokeinterface' with new
parameters.

(This is Bryce McKinlay's implementation of the interfaces
 constant-time dispatch and type checking techniques designed by Per
 Bothner.)

From-SVN: r32381
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/decl.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/parse.y
This page took 0.059672 seconds and 5 git commands to generate.