diff options
author | Peter Trommler <ptrommler@acm.org> | 2018-10-15 13:51:53 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-10-15 18:34:17 -0400 |
commit | 058c2813d882266309e8045af7a72eedecbf2dbb (patch) | |
tree | 564a33abed0d3920b200e562c49f30ae79568953 /testsuite/tests/polykinds/T11362.hs | |
parent | 95ec7c88c7223508db3ba91d6ab9e303d0b062ad (diff) | |
download | haskell-058c2813d882266309e8045af7a72eedecbf2dbb.tar.gz |
ghc-heap: Fix writing closures on big endian
We need to write the closure type as a HalfWord not
an Int. On big endian systems the closure type ends up being zero
(the upper word of the Int) making the closure an invalid object.
Test Plan: validate (preferably on a big endian system)
Reviewers: bgamari, hvr, erikd, simonmar
Reviewed By: simonmar
Subscribers: rwbarton, carter
Differential Revision: https://phabricator.haskell.org/D5212
Diffstat (limited to 'testsuite/tests/polykinds/T11362.hs')
0 files changed, 0 insertions, 0 deletions