summaryrefslogtreecommitdiff
path: root/compiler/deSugar
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2014-12-22 19:15:36 -0200
committerFacundo Domínguez <facundo.dominguez@tweag.io>2014-12-22 19:16:54 -0200
commitc72f61c6d4dd779d61bd0ebc0b1211a84c5b9038 (patch)
treecab68e458106294731ccd5d3f2ad1f328000204a /compiler/deSugar
parent22bb78bb02718e162130690dfb9a11d7b719cea1 (diff)
downloadhaskell-c72f61c6d4dd779d61bd0ebc0b1211a84c5b9038.tar.gz
Groom comments related to StaticPointers.
Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D575
Diffstat (limited to 'compiler/deSugar')
-rw-r--r--compiler/deSugar/StaticPtrTable.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/deSugar/StaticPtrTable.hs b/compiler/deSugar/StaticPtrTable.hs
index d4cad0e03e..858a0e8f7b 100644
--- a/compiler/deSugar/StaticPtrTable.hs
+++ b/compiler/deSugar/StaticPtrTable.hs
@@ -24,8 +24,7 @@
-- >
-- > }
--
--- where constants are values of a fingerprint of the string
--- "<package_id>:<module_name>.sptEntry:<N>"
+-- where the constants are fingerprints produced from the static forms.
--
module StaticPtrTable (sptInitCode) where
@@ -38,7 +37,7 @@ import GHC.Fingerprint
-- | @sptInitCode module statics@ is a C stub to insert the static entries
--- @statics@ of @module@ into the static pointer table
+-- @statics@ of @module@ into the static pointer table.
--
-- Each entry contains the fingerprint used to locate the entry and the
-- top-level binding for the entry.