Compacted arrays are pinned for isByteArrayPinned#
authorSimon Marlow <marlowsd@gmail.com>
Thu, 8 Mar 2018 08:54:01 +0000 (08:54 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 9 Mar 2018 09:27:17 +0000 (09:27 +0000)
commitdf2ea10655984234924ad9f2c237289ab8f4baa6
tree4589630296d8c17dae1c8197a4f3176594be2f82
parenta25b763fa9e09d3bf7c82fef1eaed89a7afc54f7
Compacted arrays are pinned for isByteArrayPinned#

Test Plan: New unit test

Reviewers: andrewthad, niteria, bgamari, erikd

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14900

Differential Revision: https://phabricator.haskell.org/D4485
rts/PrimOps.cmm
testsuite/tests/rts/T14900.hs [new file with mode: 0644]
testsuite/tests/rts/T14900.stdout [new file with mode: 0644]
testsuite/tests/rts/all.T