class.c (make_local_function_alias): New function.
authorBryce McKinlay <mckinlay@redhat.com>
Wed, 18 Aug 2004 17:57:03 +0000 (17:57 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Wed, 18 Aug 2004 17:57:03 +0000 (18:57 +0100)
commit260ba9ce680ed9ee88d427523e403f4667e6023e
tree0bf7d0c572a4f666bdfd34856e04e1f858b83cf2
parent62164eb49e501141f015c71410f625b2bf133570
class.c (make_local_function_alias): New function.

2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>

* class.c (make_local_function_alias): New function. Create local
alias for public method DECL.
(make_method_value): Use make_local_function_alias.
* parse.y (craft_constructor): Don't special-case anonymous classes.
Always set ctor_name to init_identifier_node.
(lookup_method_invoke): Call layout_class_method when creating
anonymous class constructor.

From-SVN: r86196
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/parse.y