This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: removing dead constant


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;
       }
   }
 


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