Patch: FYI: Another gcjh fixlet
Tom Tromey
tromey@redhat.com
Wed Oct 24 11:38:00 GMT 2001
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); \
More information about the Java-patches
mailing list