This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: Another gcjh fixlet


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);				\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]