ffi_darwin.c (ffi_prep_args): Declare bytes again.
authorAndreas Tobler <a.tobler@schweiz.ch>
Mon, 20 Oct 2003 04:25:32 +0000 (06:25 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 20 Oct 2003 04:25:32 +0000 (06:25 +0200)
2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
        Used when FFI_DEBUG = 1.

From-SVN: r72691

libffi/ChangeLog
libffi/src/powerpc/ffi_darwin.c

index abf318987398ede1ae655bced0f2c6a35f5cef3b..627a5f81711059debe89b82d7903e7e939aaaf23 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
+       Used when FFI_DEBUG = 1.
+
 2003-10-14  Alan Modra  <amodra@bigpond.net.au>
 
        * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
index 73653cd43c60a023e1607ddf4f4eab103d6d564b..aafe1aa704eb15e64577b142e6292dc809ad9df3 100644 (file)
@@ -81,6 +81,7 @@ enum { ASM_NEEDS_REGISTERS = 4 };
 void ffi_prep_args(extended_cif *ecif, unsigned *const stack)
 /*@=exportheader@*/
 {
+  const unsigned bytes = ecif->cif->bytes;
   const unsigned flags = ecif->cif->flags;
 
   /* 'stacktop' points at the previous backchain pointer.  */