From 310371ff2d5b73cdcb2439b67170ca5e613541c0 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 17 May 2016 19:05:26 +0200 Subject: 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 --- utils/deriveConstants/Main.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/deriveConstants') 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" -- cgit v1.2.1