This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[BC] Patch: FYI: minor verifier cleanup
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 15 Oct 2004 11:44:53 -0600
- Subject: [BC] Patch: FYI: minor verifier cleanup
- Reply-to: tromey at redhat dot com
I'm checking this in on the BC branch.
This fixes an indentation buglet and removes a warning.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* verify-glue.c (vfy_note_local_type): Mark argument as unused.
* verify.h (vfy_fail): Fixed formatting.
Index: verify-glue.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/verify-glue.c,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 verify-glue.c
--- verify-glue.c 15 Oct 2004 17:23:19 -0000 1.1.2.3
+++ verify-glue.c 15 Oct 2004 17:44:37 -0000
@@ -396,7 +396,8 @@
}
void
-vfy_note_local_type (vfy_method *method, int pc, int slot, vfy_jclass type)
+vfy_note_local_type (vfy_method *method ATTRIBUTE_UNUSED, int pc, int slot,
+ vfy_jclass type)
{
tree label = lookup_label (pc);
tree vec = LABEL_TYPE_STATE (label);
Index: verify.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/verify.h,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 verify.h
--- verify.h 15 Oct 2004 17:23:19 -0000 1.1.2.4
+++ verify.h 15 Oct 2004 17:44:37 -0000
@@ -116,7 +116,8 @@
vfy_jclass vfy_unsuitable_type (void);
vfy_jclass vfy_return_address_type (void);
vfy_jclass vfy_null_type (void);
-int vfy_fail (const char *message, int pc, vfy_jclass ignore1, vfy_method *method);
+int vfy_fail (const char *message, int pc, vfy_jclass ignore1,
+ vfy_method *method);
void vfy_notify_verified (int pc);
vfy_jclass vfy_get_primitive_type (int type);
void vfy_note_stack_depth (vfy_method *method, int pc, int depth);