mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 22:51:32 +08:00
jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined. From-SVN: r89051
This commit is contained in:
parent
b419bac764
commit
ed67425158
@ -1,3 +1,8 @@
|
||||
2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
|
||||
ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
|
||||
|
||||
2004-10-13 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* interpret.cc (_Jv_InterpMethod::run): Initialize
|
||||
|
@ -2213,8 +2213,13 @@ _Jv_JNIMethod::call (ffi_cif *, void *ret, ffi_raw *args, void *__this)
|
||||
memcpy (&real_args[offset], args, _this->args_raw_size);
|
||||
|
||||
// The actual call to the JNI function.
|
||||
#if FFI_NATIVE_RAW_API
|
||||
ffi_raw_call (&_this->jni_cif, (void (*)()) _this->function,
|
||||
ret, real_args);
|
||||
#else
|
||||
ffi_java_raw_call (&_this->jni_cif, (void (*)()) _this->function,
|
||||
ret, real_args);
|
||||
#endif
|
||||
|
||||
if (sync != NULL)
|
||||
_Jv_MonitorExit (sync);
|
||||
|
Loading…
x
Reference in New Issue
Block a user