[commit: ghc] master: Make BlockAlloc.c comment slightly more accurate (fixes #8491) (7fa0b43)

git at git.haskell.org git at git.haskell.org
Sun Apr 13 08:10:00 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7fa0b43593644fba8a3a60e5503a55268578d3c0/ghc

>---------------------------------------------------------------

commit 7fa0b43593644fba8a3a60e5503a55268578d3c0
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Sun Apr 13 01:09:40 2014 -0700

    Make BlockAlloc.c comment slightly more accurate (fixes #8491)
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

7fa0b43593644fba8a3a60e5503a55268578d3c0
 rts/sm/BlockAlloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/sm/BlockAlloc.c b/rts/sm/BlockAlloc.c
index 4d2685b..f06855e 100644
--- a/rts/sm/BlockAlloc.c
+++ b/rts/sm/BlockAlloc.c
@@ -45,7 +45,7 @@ static void  initMBlock(void *mblock);
    bd->free is either:
       - zero for a non-group-head; bd->link points to the head
       - (-1) for the head of a free block group
-      - or it points within the block
+      - or it points within the block (group)
 
    bd->blocks is either:
       - zero for a non-group-head; bd->link points to the head



More information about the ghc-commits mailing list