diff options
author | Peter Trommler <ptrommler@acm.org> | 2020-06-11 08:31:22 +0200 |
---|---|---|
committer | Peter Trommler <ptrommler@acm.org> | 2020-06-13 07:17:53 -0400 |
commit | ce131b180738c6f6e9b4ca2224f41314b7db7e88 (patch) | |
tree | 8864eabd626d784f803b9626ed054234fa542e37 /rules/hs-suffix-rules-srcdir.mk | |
parent | 8bba1c26193e704d2d6bb2be9a2fac668b0ea54c (diff) | |
download | haskell-wip/T15933.tar.gz |
FFI: Fix pass small ints in foreign call wrapperswip/T15933
The Haskell calling convention requires integer parameters smaller
than wordsize to be promoted to wordsize (where the upper bits are
don't care). To access such small integer parameter read a word from
the parameter array and then cast that word to the small integer
target type.
Fixes #15933
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
0 files changed, 0 insertions, 0 deletions