Moduleghc-9.10.3GHC2021
GHC.Cmm.Info
- 26 values
- Packageghc-9.10.3
- Exports26
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceInfo.hs
Value of the srt field of an info table when using an StgLargeSRT
Takes a closure pointer and returns the info table pointer
Takes an info pointer (the first word of a closure) and returns its entry code
Takes a closure pointer, and return the *zero-indexed* constructor tag obtained from the info table This lives in the SRT field of the info table (constructors don't need SRTs).
Takes a closure pointer, and return the closure type obtained from the info table
Takes an info pointer (the first word of a closure) and returns a pointer to the first word of the standard-form info table, excluding the entry-code word (if present)
Takes an info table pointer (from infoTable) and returns the constr tag field of the info table (same as the srt_bitmap field)
Takes an info table pointer (from infoTable) and returns the srt_bitmap field of the info table
Takes an info table pointer (from infoTable) and returns the closure type field of the info table.
Takes the info pointer of a function, and returns a pointer to the first word of the StgFunInfoExtra struct in the info table.
Takes the info pointer of a function, returns the function's arity
Byte offset of the SRT bitmap half-word which is in the *higher-addressed* part of the type_lit
Byte offset of the closure type half-word