summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Tennie <sven.tennie@gmail.com>2023-03-31 13:48:04 +0000
committerSven Tennie <sven.tennie@gmail.com>2023-05-05 19:59:52 +0000
commitb479f2b334bcab69bdcd75a264cd14b8ec2aa934 (patch)
treecd9c5c031b965cd7cd85d3da78c784bed8504c18
parent633487f93c50c7ba7854d731e12a6c29f580e0e7 (diff)
downloadhaskell-b479f2b334bcab69bdcd75a264cd14b8ec2aa934.tar.gz
Add comment
-rw-r--r--libraries/ghc-heap/GHC/Exts/Heap/Closures.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
index 30c09f0401..1c7bb33e7c 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
+++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
@@ -358,6 +358,10 @@ data GenClosure b
{ info :: !StgInfoTable
}
+ -- | A primitive word from a bitmap encoded stack frame payload
+ --
+ -- The type itself cannot be restored (i.e. it might also represent a byte
+ -- or an int).
| UnknownTypeWordSizedPrimitive
{ wordVal :: !Word }
deriving (Show, Generic, Functor, Foldable, Traversable)