aarch64: Fix handling of aggregates larger than 16 bytes

Instead of allocating stack space for a pointer we would allocate stack
space for the actual aggregate size.
This commit is contained in:
Ole André Vadla Ravnås
2016-08-10 22:48:09 +02:00
parent f03ba20328
commit 4da814b18a

View File

@@ -666,6 +666,7 @@ ffi_call_int (ffi_cif *cif, void (*fn)(void), void *orig_rvalue,
the argument is replaced by a pointer to the copy. */ the argument is replaced by a pointer to the copy. */
a = &avalue[i]; a = &avalue[i];
t = FFI_TYPE_POINTER; t = FFI_TYPE_POINTER;
s = sizeof (void *);
goto do_pointer; goto do_pointer;
} }
else else