summaryrefslogtreecommitdiff
path: root/compiler/stgSyn
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-10-18 18:18:27 +0200
committerJan Stolarek <jan.stolarek@p.lodz.pl>2013-10-18 18:18:27 +0200
commitf1c7d9450f2f44424260c3ba1c8d658a15d05b7b (patch)
treeb1d80f89a0a116325014ccdbf68f97fb6b58dbbf /compiler/stgSyn
parent057bef6ef759bc0819d4ced291da92aa3feb445a (diff)
downloadhaskell-f1c7d9450f2f44424260c3ba1c8d658a15d05b7b.tar.gz
Comments only
Diffstat (limited to 'compiler/stgSyn')
-rw-r--r--compiler/stgSyn/CoreToStg.lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/stgSyn/CoreToStg.lhs b/compiler/stgSyn/CoreToStg.lhs
index 80b81a68e4..9c5bc10293 100644
--- a/compiler/stgSyn/CoreToStg.lhs
+++ b/compiler/stgSyn/CoreToStg.lhs
@@ -144,7 +144,8 @@ import Control.Monad (liftM, ap)
-- to the code for `x'.
--
-- All of this is provided x is:
--- 1. non-updatable;
+-- 1. non-updatable - it must have at least one parameter (see Note
+-- [Join point abstraction]);
-- 2. guaranteed to be entered before the stack retreats -- ie x is not
-- buried in a heap-allocated closure, or passed as an argument to
-- something;