diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1998-12-02 16:47:33 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1998-12-02 08:47:33 -0800 |
commit | c3f2a47690422e93b39ec550779d6d65a875e5b1 (patch) | |
tree | 3e321e2c7e839540f047092abbe1068975523ae7 /gcc/java/class.c | |
parent | 226592de983de618cb54a5985a92bdf8e3e77540 (diff) | |
download | gcc-c3f2a47690422e93b39ec550779d6d65a875e5b1.zip gcc-c3f2a47690422e93b39ec550779d6d65a875e5b1.tar.gz gcc-c3f2a47690422e93b39ec550779d6d65a875e5b1.tar.bz2 |
class.c (layout_class_method): Call build_java_argument_signature on constructors too.
Wed Dec 2 15:52:25 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class_method): Call build_java_argument_signature
on constructors too.
* parse.y (check_method_redefinition): Use TYPE_ARGUMENT_SIGNATURE.
(patch_method_invocation): Define a primary when resolving an
expression name. Augmented comment on code checking illegal `this'
usage. Loosened it test by accepting NEW_CLASS_EXPR.
From-SVN: r24065
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index dedff9e..8deff6e 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1578,6 +1578,7 @@ layout_class_method (this_class, super_class, method_decl, dtable_count) else DECL_NAME (method_decl) = get_identifier (p); DECL_CONSTRUCTOR_P (method_decl) = 1; + build_java_argument_signature (TREE_TYPE (method_decl)); } else if (! METHOD_STATIC (method_decl) && !DECL_ARTIFICIAL (method_decl)) { |