summaryrefslogtreecommitdiff
path: root/c/libffi_msvc/ffi.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2013-08-01 12:22:24 +0200
committerArmin Rigo <arigo@tunes.org>2013-08-01 12:22:24 +0200
commite5238cf3ed9d4cddcfafa41a333fa49f547dd3c7 (patch)
treecdd59980ce58dacc1818f68f1ba63a302c241702 /c/libffi_msvc/ffi.c
parent07e755d7e0e5c97e6d3bd38da31615ca84288e0b (diff)
downloadcffi-e5238cf3ed9d4cddcfafa41a333fa49f547dd3c7.tar.gz
Backed out changeset a0bbd364d7a2
Diffstat (limited to 'c/libffi_msvc/ffi.c')
-rw-r--r--c/libffi_msvc/ffi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/c/libffi_msvc/ffi.c b/c/libffi_msvc/ffi.c
index fcd06d6..e7dc320 100644
--- a/c/libffi_msvc/ffi.c
+++ b/c/libffi_msvc/ffi.c
@@ -340,9 +340,6 @@ ffi_closure_SYSV (ffi_closure *closure, int *argp)
result types except for floats; we have to 'mov xmm0, rax' in the
caller to correct this.
*/
- if ( cif->flags == FFI_TYPE_STRUCT ) {
- resp = *(void **)resp;
- }
return *(void **)resp;
#endif
}