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
This commit is contained in:
Andrew Haley 1999-07-21 15:11:56 +00:00
parent 9daca635ba
commit d342a2e1eb
8 changed files with 242 additions and 154 deletions

View file

@ -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__ */