Support fastcall closures
authorJosh Triplett <josh@joshtriplett.org>
Sun, 20 Apr 2014 19:03:25 +0000 (12:03 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Mon, 21 Apr 2014 00:08:37 +0000 (17:08 -0700)
commitd36952273d4fafbda91ecc205fc0824f7cc65e70
treeee850b68e3c5b1f266b6a7641721f076c2ff4240
parent93a24f216bcdd1018b976d697179c6d49004015a
Support fastcall closures

libffi on 32-bit x86 now supports closures for all supported ABIs.
Thus, rewrite the last remaining duplicated-by-ABI test (closure_stdcall
and closure_thiscall) to use the generic ABI_NUM/ABI_ATTR mechanism.
src/x86/ffi.c
src/x86/win32.S
testsuite/Makefile.am
testsuite/libffi.call/closure_simple.c [moved from testsuite/libffi.call/closure_stdcall.c with 72% similarity]
testsuite/libffi.call/closure_thiscall.c [deleted file]