Added new_arraystoreexception for asmpart.
authortwisti <none@none>
Fri, 5 Nov 2004 13:44:03 +0000 (13:44 +0000)
committertwisti <none@none>
Fri, 5 Nov 2004 13:44:03 +0000 (13:44 +0000)
exceptions.c
exceptions.h
src/vm/exceptions.c
src/vm/exceptions.h

index 85f49c1a7e0ad2d10aecc4e825b19bb7b2e59ca5..80ca5ba9cd4853348e88bc0572a7e38f7d27cfd9 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: exceptions.c 1435 2004-11-05 09:48:33Z twisti $
+   $Id: exceptions.c 1441 2004-11-05 13:44:03Z twisti $
 
 */
 
@@ -522,6 +522,25 @@ java_objectheader *new_arrayindexoutofboundsexception(s4 index)
 }
 
 
+/* new_arraystoreexception *****************************************************
+
+   generates a java.lang.ArrayStoreException for the jit compiler
+
+*******************************************************************************/
+
+java_objectheader *new_arraystoreexception()
+{
+       java_objectheader *e;
+
+       e = new_exception(string_java_lang_ArrayStoreException);
+
+       if (!e)
+               return *exceptionptr;
+
+       return e;
+}
+
+
 /* new_classcastexception ******************************************************
 
    generates a java.lang.ClassCastException for the jit compiler
index 2ca6884a280421eff7195f68b8113949c3528ee1..94fc522ffc52bca97c3538bace6748f6f622f5d5 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: exceptions.h 1435 2004-11-05 09:48:33Z twisti $
+   $Id: exceptions.h 1441 2004-11-05 13:44:03Z twisti $
 
 */
 
@@ -128,6 +128,7 @@ java_objectheader *new_unsupportedclassversionerror(classinfo *c, char *message,
 
 java_objectheader *new_arithmeticexception();
 java_objectheader *new_arrayindexoutofboundsexception(s4 index);
+java_objectheader *new_arraystoreexception();
 java_objectheader *new_classcastexception();
 java_objectheader *new_negativearraysizeexception();
 java_objectheader *new_nullpointerexception();
index 85f49c1a7e0ad2d10aecc4e825b19bb7b2e59ca5..80ca5ba9cd4853348e88bc0572a7e38f7d27cfd9 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: exceptions.c 1435 2004-11-05 09:48:33Z twisti $
+   $Id: exceptions.c 1441 2004-11-05 13:44:03Z twisti $
 
 */
 
@@ -522,6 +522,25 @@ java_objectheader *new_arrayindexoutofboundsexception(s4 index)
 }
 
 
+/* new_arraystoreexception *****************************************************
+
+   generates a java.lang.ArrayStoreException for the jit compiler
+
+*******************************************************************************/
+
+java_objectheader *new_arraystoreexception()
+{
+       java_objectheader *e;
+
+       e = new_exception(string_java_lang_ArrayStoreException);
+
+       if (!e)
+               return *exceptionptr;
+
+       return e;
+}
+
+
 /* new_classcastexception ******************************************************
 
    generates a java.lang.ClassCastException for the jit compiler
index 2ca6884a280421eff7195f68b8113949c3528ee1..94fc522ffc52bca97c3538bace6748f6f622f5d5 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: exceptions.h 1435 2004-11-05 09:48:33Z twisti $
+   $Id: exceptions.h 1441 2004-11-05 13:44:03Z twisti $
 
 */
 
@@ -128,6 +128,7 @@ java_objectheader *new_unsupportedclassversionerror(classinfo *c, char *message,
 
 java_objectheader *new_arithmeticexception();
 java_objectheader *new_arrayindexoutofboundsexception(s4 index);
+java_objectheader *new_arraystoreexception();
 java_objectheader *new_classcastexception();
 java_objectheader *new_negativearraysizeexception();
 java_objectheader *new_nullpointerexception();