x86: Rewrite ffi_call
authorRichard Henderson <rth@twiddle.net>
Sat, 1 Nov 2014 22:10:34 +0000 (15:10 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 12 Nov 2014 08:15:35 +0000 (09:15 +0100)
commitb9ac94f3af9b1ca1853850911b7d3bc058296c71
treee7542e1107ca630a908f94f4b58cb9e2dde6e0a6
parent159d3788eb52b89ed6bc5dd6ebb85c02cd150232
x86: Rewrite ffi_call

Decouple the assembly from FFI_TYPE_*.  Merge prep_args with ffi_call,
passing the frame and the stack to the assembly.

Note that this patch isn't really standalone, as this breaks closures.
src/x86/ffi.c
src/x86/ffitarget.h
src/x86/internal.h [new file with mode: 0644]
src/x86/sysv.S