ghc-lib-9.10.1.20240511: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
LanguageGHC2021

GHC.StgToJS.Heap

Synopsis

Documentation

closureEntry :: JStgExpr -> JStgExpr Source #

Get closure entry function

closureMeta :: JStgExpr -> JStgExpr Source #

Get closure metadata

closureField1 :: JStgExpr -> JStgExpr Source #

Get closure extra field 1

closureField2 :: JStgExpr -> JStgExpr Source #

Get closure extra field 2

closureCC :: JStgExpr -> JStgExpr Source #

Get closure cost-center

funOrPapArity Source #

Arguments

:: JStgExpr

heap object

-> Maybe JStgExpr

reference to entry, if you have one already (saves a c.f lookup twice)

-> JStgExpr

arity tag (tag >> 8 = registers, tag & 0xff = arguments)

Field names

Javascript Type literals