mirror of git://gcc.gnu.org/git/gcc.git
java_raw_api.c (ffi_java_ptrarray_to_raw): Replace FFI_ASSERT(FALSE) with FFI_ASSERT(0).
2003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
* src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
FFI_ASSERT(FALSE) with FFI_ASSERT(0).
From-SVN: r72865
This commit is contained in:
parent
846d57c7d1
commit
57f542b355
|
|
@ -1,3 +1,8 @@
|
||||||
|
2003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
|
||||||
|
|
||||||
|
* src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
|
||||||
|
FFI_ASSERT(FALSE) with FFI_ASSERT(0).
|
||||||
|
|
||||||
2003-10-22 David Daney <ddaney@avtrex.com>
|
2003-10-22 David Daney <ddaney@avtrex.com>
|
||||||
|
|
||||||
* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
|
* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
#if FFI_SIZEOF_ARG == 8
|
#if FFI_SIZEOF_ARG == 8
|
||||||
FFI_ASSERT(FALSE); /* Should have covered all cases */
|
FFI_ASSERT(0); /* Should have covered all cases */
|
||||||
#else
|
#else
|
||||||
memcpy ((void*) raw->data, (void*)*args, (*tp)->size);
|
memcpy ((void*) raw->data, (void*)*args, (*tp)->size);
|
||||||
raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
|
raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue