summaryrefslogtreecommitdiff
path: root/libjava/include/jvm.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@gcc.gnu.org>1999-07-21 15:11:56 +0000
committerAndrew Haley <aph@gcc.gnu.org>1999-07-21 15:11:56 +0000
commitd342a2e1eb3cb69c77685fbab9c3840ab098887b (patch)
tree2e494b829b889dd7da83ae1de7cb28dd9ba66f13 /libjava/include/jvm.h
parent9daca635ba8a3c669bd02feada87862a2a7eb953 (diff)
downloadgcc-d342a2e1eb3cb69c77685fbab9c3840ab098887b.tar.gz
prims.cc (JvRunMain): Always initialize arithexception.
1999-07-19 Andrew Haley <aph@cygnus.com> * prims.cc (JvRunMain): Always initialize arithexception. (_Jv_divI): New function. (_Jv_remI): New function. (_Jv_divJ): New function. (_Jv_remI): New function. * include/jvm.h: Add these new functions. Makefile.am: add DIVIDESPEC. aclocal.m4: ditto. configure.host: set DIVIDESPEC. libgcj.spec.in: pass DIVIDESPEC to compiler. configure: rebuilt. Makefile.in: rebuilt. From-SVN: r28211
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r--libjava/include/jvm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index f928d7178b6..75ca8274c4d 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -98,4 +98,13 @@ extern jclass _Jv_FindClassFromSignature (char *,
extern jobject _Jv_NewMultiArray (jclass, jint ndims, jint* dims);
+/* Checked divide subroutines. */
+extern "C"
+{
+ jint _Jv_divI (jint, jint);
+ jint _Jv_remI (jint, jint);
+ jlong _Jv_divJ (jlong, jlong);
+ jlong _Jv_remJ (jlong, jlong);
+}
+
#endif /* __JAVA_JVM_H__ */