Added throw-verification-error instruction.
This is for the deferred verifier error reporting. It replaces OP_UNUSED_ED.
The instructions aren't actually used yet, which is good since the x86
version hasn't been written yet.
The mterp regen also pushed out some recent-ish changes that hadn't
propagated to the armv4t sources.
diff --git a/vm/interp/Interp.c b/vm/interp/Interp.c
index d2643de..25a2145 100644
--- a/vm/interp/Interp.c
+++ b/vm/interp/Interp.c
@@ -636,6 +636,23 @@
/*
+ * Throw an exception for a problem identified by the verifier.
+ *
+ * This is used by the invoke-verification-error instruction. It always
+ * throws an exception.
+ *
+ * "kind" indicates the kind of failure encountered by the verifier. The
+ * meaning of "ref" is kind-specific; it's usually an index to a
+ * class, field, or method reference.
+ */
+void dvmThrowVerificationError(const DvmDex* pDvmDex, int kind, int ref)
+{
+ // TODO
+ dvmThrowException("Ljava/lang/VerifyError;", NULL);
+}
+
+
+/*
* Main interpreter loop entry point. Select "standard" or "debug"
* interpreter and switch between them as required.
*