summaryrefslogtreecommitdiff
path: root/compiler/stgSyn/CoreToStg.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2019-01-22 12:07:47 +0100
committerBen Gamari <ben@well-typed.com>2019-01-23 14:07:28 -0500
commitbb2acfe0ec4c196a87218709ee28327845d62dc4 (patch)
tree5b7c314caa4944997e7faa51ba3fd9c5328fc913 /compiler/stgSyn/CoreToStg.hs
parentc9a02dfc32ea4304c1c0d02bd8091fd5d045741f (diff)
downloadhaskell-bb2acfe0ec4c196a87218709ee28327845d62dc4.tar.gz
A few typofixes
Diffstat (limited to 'compiler/stgSyn/CoreToStg.hs')
-rw-r--r--compiler/stgSyn/CoreToStg.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stgSyn/CoreToStg.hs b/compiler/stgSyn/CoreToStg.hs
index 573db78a06..e8f159b569 100644
--- a/compiler/stgSyn/CoreToStg.hs
+++ b/compiler/stgSyn/CoreToStg.hs
@@ -180,7 +180,7 @@ import Control.Monad (liftM, ap)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- Previously `coreToStg` was initializing cost-centre stack fields as `noCCS`,
--- and the fields were then fixed by a seperate pass `stgMassageForProfiling`.
+-- and the fields were then fixed by a separate pass `stgMassageForProfiling`.
-- We now initialize these correctly. The initialization works like this:
--
-- - For non-top level bindings always use `currentCCS`.