summaryrefslogtreecommitdiff
path: root/utils/deriveConstants
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-05-17 19:05:26 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-18 22:02:22 +0200
commit310371ff2d5b73cdcb2439b67170ca5e613541c0 (patch)
treec447b75f3ea056381cc3282fa81704907cd616c9 /utils/deriveConstants
parent39a2faa05fbbdb4a5ef0682afc42b5809cbd86ce (diff)
downloadhaskell-310371ff2d5b73cdcb2439b67170ca5e613541c0.tar.gz
rts: Add isPinnedByteArray# primop
Adds a primitive operation to determine whether a particular `MutableByteArray#` is backed by a pinned buffer. Test Plan: Validate with included testcase Reviewers: austin, simonmar Reviewed By: austin, simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2217 GHC Trac Issues: #12059
Diffstat (limited to 'utils/deriveConstants')
-rw-r--r--utils/deriveConstants/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/deriveConstants/Main.hs b/utils/deriveConstants/Main.hs
index 16f3255eb8..63e2233f8b 100644
--- a/utils/deriveConstants/Main.hs
+++ b/utils/deriveConstants/Main.hs
@@ -391,6 +391,7 @@ wanteds os = concat
,structField Both "bdescr" "blocks"
,structField C "bdescr" "gen_no"
,structField C "bdescr" "link"
+ ,structField C "bdescr" "flags"
,structSize C "generation"
,structField C "generation" "n_new_large_words"