aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>2000-03-07 08:58:26 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-03-07 00:58:26 -0800
commit173f556ccc41ea93cf66896d0c7778241467407f (patch)
tree7f5247f181780723c8e8790acc8c5afc9d20e754 /gcc/java/parse.y
parentf2d2acce60eb9ec6ba79c3619a949c84d130b60e (diff)
downloadgcc-173f556ccc41ea93cf66896d0c7778241467407f.zip
gcc-173f556ccc41ea93cf66896d0c7778241467407f.tar.gz
gcc-173f556ccc41ea93cf66896d0c7778241467407f.tar.bz2
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
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 5406a3b..d1aa061 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -7524,7 +7524,7 @@ patch_invoke (patch, method, args)
case INVOKE_INTERFACE:
dtable = invoke_build_dtable (1, args);
- func = build_invokeinterface (dtable, DECL_NAME (method), signature);
+ func = build_invokeinterface (dtable, method);
break;
default: