This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch to verify.cc
- To: java-patches at gcc dot gnu dot org
- Subject: Patch to verify.cc
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 9 Nov 2001 11:23:42 -0500 (EST)
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 */