Skip to content

Fix ffi callbacks with >6 args and non-64bit args.

Andreas Klebinger requested to merge wip/andreask/ffi_callbacks into master
Fix ffi callbacks with >6 args and non-64bit args.

Check for ptr/int arguments rather than 64-bit width arguments when counting
integer register arguments.
The old approach broke when we stopped using exclusively W64-sized types to represent
sub-word sized integers.

Fixes #24314

Merge request reports