From 8f96ed39372b7b61edfa741e5e58c35583802b90 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 3 Feb 2010 10:34:31 +0000 Subject: [PATCH] add comment for srt_bitmap field --- includes/rts/storage/InfoTables.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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]; -- 1.7.10.4