projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e32f9b
)
aarch64: Treat void return as not passed in registers
author
Richard Henderson
<rth@redhat.com>
Wed, 22 Oct 2014 16:33:59 +0000
(12:33 -0400)
committer
Richard Henderson
<rth@twiddle.net>
Wed, 12 Nov 2014 08:28:44 +0000
(09:28 +0100)
This lets us do less post-processing when there's no return value.
src/aarch64/ffi.c
patch
|
blob
|
history
diff --git
a/src/aarch64/ffi.c
b/src/aarch64/ffi.c
index
58d088b
..
6c338e1
100644
(file)
--- a/
src/aarch64/ffi.c
+++ b/
src/aarch64/ffi.c
@@
-383,6
+383,7
@@
is_register_candidate (ffi_type *ty)
switch (ty->type)
{
case FFI_TYPE_VOID:
+ return 0;
case FFI_TYPE_FLOAT:
case FFI_TYPE_DOUBLE:
case FFI_TYPE_LONGDOUBLE: