summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-02-03 09:20:15 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-05 19:13:52 -0500
commit97a8fe7b356cbf22c331c86c35345fda446dc466 (patch)
tree4cd63de06d058e08fb3570a60e10f94fcb1daeda /validate
parentd4618aeb878edb1aed12bad05a19fe25fe3bf0d3 (diff)
downloadhaskell-97a8fe7b356cbf22c331c86c35345fda446dc466.tar.gz
rts: Fix arguments for foreign calls of interpreter
Function arguments passed to the interpreter are extended to whole words. However, foreign function interface expects correctly typed argument pointers. Accordingly, we have to adjust argument pointers in case of a big-endian architecture. In contrast to function arguments where subwords are passed in the low bytes of a word, the return value is expected to reside in the high bytes of a word.
Diffstat (limited to 'validate')
0 files changed, 0 insertions, 0 deletions