Commit 7105fb66 authored by Ben Gamari's avatar Ben Gamari 🐢

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]
parent a416ae26
Pipeline #5842 failed with stages
in 814 minutes and 39 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment