HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.StgToJS.Utils

  • 1 type
  • 32 values
  • Packageghc-9.14.1
  • 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