diff options
author | Ben Gamari <ben@well-typed.com> | 2019-05-16 12:47:59 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-05-16 12:47:59 -0400 |
commit | 7105fb66a7bacf822f7f23028136f89ff5737d0e (patch) | |
tree | 765ae71657d2327abc264cd1d84012cbdcdfa42b /includes | |
parent | a416ae26a2e45de3d9a76e94fc22aaa53e9e5b12 (diff) | |
download | haskell-7105fb66a7bacf822f7f23028136f89ff5737d0e.tar.gz |
rts: Explicit state that CONSTR tag field is zero-based
This was a bit unclear as we use both one-based and zero-based
tags in GHC.
[skip ci]
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/storage/InfoTables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index db50d1613b..5c8296a351 100644 --- a/includes/rts/storage/InfoTables.h +++ b/includes/rts/storage/InfoTables.h @@ -189,7 +189,7 @@ typedef struct StgInfoTable_ { StgHalfWord type; /* closure type */ StgSRTField srt; /* In a CONSTR: - - the constructor tag + - the zero-based constructor tag In a FUN/THUNK - if USE_INLINE_SRT_FIELD - offset to the SRT (or zero if no SRT) |