Fix for PR gcj/2:
commitd31bba8b87a06bf99851897c356d5c1161aebd4f
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 00:21:06 +0000 (28 00:21 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 00:21:06 +0000 (28 00:21 +0000)
tree8b68598e702242c042747ef9d9b00aed4e7d7ab0
parentc2f99343ee5eab9521d49d7ec7ec1ea85a6d728d
Fix for PR gcj/2:
* expr.c (expand_invoke): Generate check to see if object pointer
is null in nonvirtual invocation case.
* java-tree.h (soft_nullpointer_node): Declare.
* decl.c (soft_nullpointer_node): New global.
(init_decl_processing): Initialize soft_nullpointer_node.
* parse.y (invocation_mode): Return INVOKE_NONVIRTUAL for `final'
or `private' methods.
(patch_invoke): Handle INVOKE_NONVIRTUAL case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33495 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/decl.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/parse.c
gcc/java/parse.y