HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.StgToJS.Utils

  • 1 type
  • 32 values
  • Packageghc-9.10.3
  • Exports33
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceUtils.hs

Unboxable datacon

3 declarations
valueisUnboxable :: JSRep -> Bool
#

one-constructor types with one primitive field represented as a JS Number can be unboxed

JSRep

13 declarations
valueslotCount :: SlotCount -> Int
#

Return SlotCount as an Int

valuevarSize :: JSRep -> Int
#

Number of slots occupied by a value with the given JSRep

References and Ids

4 declarations

Live variables

9 declarations