Moduleghc-9.10.3GHC2021
GHC.StgToJS.Monad
JS codegen state monad
- 1 type
- 14 values
- Packageghc-9.10.3
- Exports15
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceMonad.hs
emit a global (for the current module) toplevel statement
add a dependency on a particular symbol to the current group
emit a top-level statement for the current binding group
emit static data for the binding group
add closure info in our binding group. all heap objects must have closure info
Return number of occurrences of every global id used in the given JStgStat. Sort by increasing occurrence count.
Constructors
GlobalOccglobal_ident :: !Identglobal_id :: !Idglobal_count :: !Word
Group
2 declarationsstart with a new binding group