diff options
| author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-21 15:11:56 +0000 |
|---|---|---|
| committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-21 15:11:56 +0000 |
| commit | 81e900f90a98e20be13581005c60e073cc6df057 (patch) | |
| tree | 2e494b829b889dd7da83ae1de7cb28dd9ba66f13 /libjava/include | |
| parent | 023ebba2c2278bbc7147137ee8105f2ab15fb950 (diff) | |
| download | ppe42-gcc-81e900f90a98e20be13581005c60e073cc6df057.tar.gz ppe42-gcc-81e900f90a98e20be13581005c60e073cc6df057.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28211 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
| -rw-r--r-- | libjava/include/jvm.h | 9 |
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__ */ |

