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:
c9f5b66
)
x86: Fix typo in ffi_prep_go_closure
author
Richard Henderson
<rth@twiddle.net>
Fri, 14 Nov 2014 12:05:14 +0000
(13:05 +0100)
committer
Richard Henderson
<rth@twiddle.net>
Fri, 14 Nov 2014 12:07:47 +0000
(13:07 +0100)
Used the wrong register for THISCALL and FASTCALL.
src/x86/ffi.c
patch
|
blob
|
history
diff --git
a/src/x86/ffi.c
b/src/x86/ffi.c
index
359a864
..
4c96c6d
100644
(file)
--- a/
src/x86/ffi.c
+++ b/
src/x86/ffi.c
@@
-527,7
+527,7
@@
ffi_prep_go_closure (ffi_go_closure* closure, ffi_cif* cif,
break;
case FFI_THISCALL:
case FFI_FASTCALL:
- dest = ffi_go_closure_E
C
X;
+ dest = ffi_go_closure_E
A
X;
break;
case FFI_STDCALL:
case FFI_PASCAL: