summaryrefslogtreecommitdiff
path: root/compiler/cmm/Cmm.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-02-03 15:01:26 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-02-03 15:01:26 +0000
commitdf3f5f93d9233ebf966fa26b7a690b38cbd312ce (patch)
treee1a0b9f78e2da0205d88c96aacb7dde3eca91376 /compiler/cmm/Cmm.hs
parent7a4643ee9a559593fe358f048b2c1dbbeba2f432 (diff)
downloadhaskell-df3f5f93d9233ebf966fa26b7a690b38cbd312ce.tar.gz
comments
Diffstat (limited to 'compiler/cmm/Cmm.hs')
-rw-r--r--compiler/cmm/Cmm.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index 93a1dc1e52..e31a95ac7d 100644
--- a/compiler/cmm/Cmm.hs
+++ b/compiler/cmm/Cmm.hs
@@ -115,7 +115,10 @@ data CmmTopInfo = TopInfo {info_tbl :: CmmInfoTable, stack_info :: CmmStackInf
data CmmStackInfo
= StackInfo {
- arg_space :: ByteOff, -- XXX: comment?
+ arg_space :: ByteOff,
+ -- number of bytes of arguments on the stack on entry to the
+ -- the proc. This is filled in by StgCmm.codeGen, and used
+ -- by the stack allocator later.
updfr_space :: Maybe ByteOff -- XXX: comment?
}