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:
a8e0a83
)
Darwin/iOS: Fix mis-typing of vfp_reg_free
author
Zachary Waldowski
<zach@waldowski.me>
Mon, 30 Dec 2013 20:27:14 +0000
(15:27 -0500)
committer
Zachary Waldowski
<zach@waldowski.me>
Wed, 5 Feb 2014 19:28:58 +0000
(14:28 -0500)
src/arm/ffi.c
patch
|
blob
|
history
diff --git
a/src/arm/ffi.c
b/src/arm/ffi.c
index
3b39056
..
7cd9289
100644
(file)
--- a/
src/arm/ffi.c
+++ b/
src/arm/ffi.c
@@
-871,7
+871,7
@@
static int vfp_type_p (ffi_type *t)
static int place_vfp_arg (ffi_cif *cif, ffi_type *t)
{
-
in
t reg = cif->vfp_reg_free;
+
shor
t reg = cif->vfp_reg_free;
int nregs = t->size / sizeof (float);
int align = ((t->type == FFI_TYPE_STRUCT_VFP_FLOAT
|| t->type == FFI_TYPE_FLOAT) ? 1 : 2);