This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: Another gcjh fixlet
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 08 Dec 2001 18:34:29 -0700
- Subject: Patch: FYI: Another gcjh fixlet
- Reply-to: tromey at redhat dot com
I'm checking this in.
I missed this in my previous gcjh fix.
It fixes another thinko in HANDLE_METHOD.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything
else.
Index: gjavah.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gjavah.c,v
retrieving revision 1.76
diff -u -r1.76 gjavah.c
--- gjavah.c 2001/12/09 01:26:30 1.76
+++ gjavah.c 2001/12/09 01:27:31
@@ -194,6 +194,7 @@
{ \
method_synthetic = 0; \
method_printed = 0; \
+ decompiled = 0; \
method_signature = SIGNATURE; \
if (ATTRIBUTE_COUNT) \
method_synthetic = peek_attribute (jcf, ATTRIBUTE_COUNT, \
@@ -209,7 +210,6 @@
} \
if (method_pass && !method_synthetic) \
{ \
- decompiled = 0; \
if (out) \
print_method_info (out, jcf, NAME, SIGNATURE, \
ACCESS_FLAGS); \