This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[BC] Patch: FYI: remove some dead verifier code
- 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: 26 Oct 2004 16:08:31 -0600
- Subject: [BC] Patch: FYI: remove some dead verifier code
- Reply-to: tromey at redhat dot com
I'm checking this in on the BC branch.
This removes an unused function from the verifier glue code.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* verify.h (vfy_notify_verified): Removed.
* verify-glue.c (vfy_notify_verified): Removed.
Index: verify-glue.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/verify-glue.c,v
retrieving revision 1.1.2.9
diff -u -r1.1.2.9 verify-glue.c
--- verify-glue.c 20 Oct 2004 22:54:33 -0000 1.1.2.9
+++ verify-glue.c 26 Oct 2004 22:07:37 -0000
@@ -378,12 +378,6 @@
return 1;
}
-void
-vfy_notify_verified (int pc)
-{
- instruction_bits[pc] |= BCODE_VERIFIED;
-}
-
vfy_jclass
vfy_get_primitive_type (int type)
{
Index: verify.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/verify.h,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 verify.h
--- verify.h 19 Oct 2004 21:54:14 -0000 1.1.2.6
+++ verify.h 26 Oct 2004 22:07:37 -0000
@@ -118,7 +118,6 @@
vfy_jclass vfy_null_type (void);
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);
void vfy_note_stack_type (vfy_method *method, int pc, int slot,