OSDN Git Service

2003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 20:24:20 +0000 (20:24 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 20:24:20 +0000 (20:24 +0000)
        * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
        FFI_ASSERT(FALSE) with FFI_ASSERT(0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72865 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/src/java_raw_api.c

index 74c6b74..00ee87c 100644 (file)
@@ -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>
 
        * src/mips/ffitarget.h: Replace undefined UINT32 and friends with
index e466411..5b0e347 100644 (file)
@@ -217,7 +217,7 @@ ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw)
 
        default:
 #if FFI_SIZEOF_ARG == 8
-         FFI_ASSERT(FALSE);    /* Should have covered all cases */
+         FFI_ASSERT(0);        /* Should have covered all cases */
 #else  
          memcpy ((void*) raw->data, (void*)*args, (*tp)->size);
          raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;