summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-11-11 21:58:24 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-13 07:06:12 -0500
commit535d0edc11e66a9a0bdfda676dd614833d86df68 (patch)
treebb226d1b629f0886560e7b9c17b9fb60877769fb
parent643d42fcf68f9b96bc8829d20bcd8f5fef84a78c (diff)
downloadhaskell-535d0edc11e66a9a0bdfda676dd614833d86df68.tar.gz
Document CmmTopInfo type
[ci skip]
-rw-r--r--compiler/cmm/Cmm.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index 3a6c0af697..e08b22fa9b 100644
--- a/compiler/cmm/Cmm.hs
+++ b/compiler/cmm/Cmm.hs
@@ -109,6 +109,8 @@ type CmmBlock = Block CmmNode C C
-- Info Tables
-----------------------------------------------------------------------------
+-- | CmmTopInfo is attached to each CmmDecl (see defn of CmmGroup), and contains
+-- the extra info (beyond the executable code) that belongs to that CmmDecl.
data CmmTopInfo = TopInfo { info_tbls :: LabelMap CmmInfoTable
, stack_info :: CmmStackInfo }