From 0df6970d652ffaf3333edbffd342feec09b0150d Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Mon, 20 Oct 2003 06:25:32 +0200 Subject: [PATCH] ffi_darwin.c (ffi_prep_args): Declare bytes again. 2003-10-19 Andreas Tobler * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again. Used when FFI_DEBUG = 1. From-SVN: r72691 --- libffi/ChangeLog | 5 +++++ libffi/src/powerpc/ffi_darwin.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libffi/ChangeLog b/libffi/ChangeLog index abf31898739..627a5f81711 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2003-10-19 Andreas Tobler + + * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again. + Used when FFI_DEBUG = 1. + 2003-10-14 Alan Modra * src/types.c (double, longdouble): Default POWERPC64 to 8 byte size diff --git a/libffi/src/powerpc/ffi_darwin.c b/libffi/src/powerpc/ffi_darwin.c index 73653cd43c6..aafe1aa704e 100644 --- a/libffi/src/powerpc/ffi_darwin.c +++ b/libffi/src/powerpc/ffi_darwin.c @@ -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. */ -- 2.30.2