summaryrefslogtreecommitdiff
path: root/compiler/codeGen/SMRep.lhs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2007-09-07 10:10:46 +0000
committersimonpj@microsoft.com <unknown>2007-09-07 10:10:46 +0000
commitb7d7fe67db64e0f639ac4a91f9ec2690be7e6a7d (patch)
treeeddbe5ca6ac515b91de86090e350c1d115858828 /compiler/codeGen/SMRep.lhs
parent08ea4e6d331cb4bf1b5ea6ddcc688890a17d9097 (diff)
downloadhaskell-b7d7fe67db64e0f639ac4a91f9ec2690be7e6a7d.tar.gz
Add clarifying comments
Diffstat (limited to 'compiler/codeGen/SMRep.lhs')
-rw-r--r--compiler/codeGen/SMRep.lhs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/codeGen/SMRep.lhs b/compiler/codeGen/SMRep.lhs
index ed0a440675..4bc122222e 100644
--- a/compiler/codeGen/SMRep.lhs
+++ b/compiler/codeGen/SMRep.lhs
@@ -119,8 +119,10 @@ entry to the garbage collector.
\begin{code}
data CgRep
= VoidArg -- Void
- | PtrArg -- Word-sized Ptr
+ | PtrArg -- Word-sized heap pointer, followed
+ -- by the garbage collector
| NonPtrArg -- Word-sized non-pointer
+ -- (including addresses not followed by GC)
| LongArg -- 64-bit non-pointer
| FloatArg -- 32-bit float
| DoubleArg -- 64-bit float