Patch: FYI: removing dead constant

Tom Tromey tromey@redhat.com
Tue Oct 23 16:51:00 GMT 2001


I'm checking this in.

This removes a constant from the verifier that isn't really used.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* verify.cc (_Jv_BytecodeVerifier::FLAG_JSR_TARGET): Removed.
	(_Jv_BytecodeVerifier::note_branch_target): Likewise.

Index: verify.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/verify.cc,v
retrieving revision 1.21
diff -u -r1.21 verify.cc
--- verify.cc 2001/12/06 23:06:11 1.21
+++ verify.cc 2001/12/07 03:24:26
@@ -64,7 +64,6 @@
 
   static const int FLAG_INSN_START = 1;
   static const int FLAG_BRANCH_TARGET = 2;
-  static const int FLAG_JSR_TARGET = 4;
 
   struct state;
   struct type;
@@ -1265,7 +1264,6 @@
 	info->pc = PC;
 	info->next = jsr_ptrs[pc];
 	jsr_ptrs[pc] = info;
-	flags[pc] |= FLAG_JSR_TARGET;
       }
   }
 



More information about the Java-patches mailing list