From: Simon Marlow Date: Wed, 3 Feb 2010 10:34:31 +0000 (+0000) Subject: add comment for srt_bitmap field X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8f96ed39372b7b61edfa741e5e58c35583802b90;p=ghc-hetmet.git add comment for srt_bitmap field --- diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index c81e1e2..8d51428 100644 --- a/includes/rts/storage/InfoTables.h +++ b/includes/rts/storage/InfoTables.h @@ -231,7 +231,12 @@ typedef struct StgInfoTable_ { StgClosureInfo layout; /* closure layout info (one word) */ StgHalfWord type; /* closure type */ - StgHalfWord srt_bitmap; /* number of entries in SRT (or constructor tag) */ + StgHalfWord srt_bitmap; + /* In a CONSTR: + - the constructor tag + In a FUN/THUNK + - a bitmap of SRT entries + */ #ifdef TABLES_NEXT_TO_CODE StgCode code[FLEXIBLE_ARRAY];