Commit Graph
1 Commits
Author SHA1 Message Date
Andreas Schwab a8efc2f789 Fix FFI_STDCALL ABI (#514)
Even for a stdcall function, the stack alignment is still the
responsibility of the caller.  Remember the original, not stack-aligned
argument size, but align when setting up a stack frame.  In
ffi_closure_inner, return the true argument size, so that
ffi_[go_]closure_STDCALL doesn't adjust too much.
2019-10-26 08:57:05 -04:00