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 to verify.cc



For targets with no interpreter support, we cannot build the new bytecode 
verifier.  I'm testing this on sparc-unknown-linux-gnu.  The build hasn't
finished due to other problems :(

2001-11-09  Jeff Sturm  <jsturm@one-point.com>

	* verify.cc: Wrap in #ifdef INTERPRETER.

Index: verify.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/verify.cc,v
retrieving revision 1.2
diff -u -p -r1.2 verify.cc
--- verify.cc	2001/11/07 19:15:54	1.2
+++ verify.cc	2001/11/09 04:29:34
@@ -17,6 +17,8 @@ details.  */
 #include <java-insns.h>
 #include <java-interp.h>
 
+#ifdef INTERPRETER
+
 #include <java/lang/Class.h>
 #include <java/lang/VerifyError.h>
 #include <java/lang/Throwable.h>
@@ -2435,3 +2437,5 @@ verify_fail (char *s)
   strcat (buf, s);
   throw new java::lang::VerifyError (JvNewStringLatin1 (buf));
 }
+
+#endif	/* INTERPRETER */



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