x86: Rewrite closures
authorRichard Henderson <rth@twiddle.net>
Wed, 5 Nov 2014 09:15:25 +0000 (10:15 +0100)
committerRichard Henderson <rth@twiddle.net>
Wed, 12 Nov 2014 08:15:54 +0000 (09:15 +0100)
commitb21ec1ce783f09335c0e6c6f96ccc7e89da5a1b4
tree3193854da2ad2b547bdb66c973de520482490a04
parentb9ac94f3af9b1ca1853850911b7d3bc058296c71
x86: Rewrite closures

Move everything into sysv.S, removing win32.S and freebsd.S.
Handle all abis with a single ffi_closure_inner function.
Move complexity of the raw THISCALL trampoline into assembly
instead of the trampoline itself.
Only push the context for the REGISTER abi; let the rest
receive it in a register.
Makefile.am
src/x86/ffi.c
src/x86/ffitarget.h
src/x86/freebsd.S [deleted file]
src/x86/sysv.S
src/x86/win32.S [deleted file]