ghc-9.6.0.20230111: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.StgToJS.Heap

Synopsis

Documentation

closureEntry :: JExpr -> JExpr Source #

Get closure entry function

closureMeta :: JExpr -> JExpr Source #

Get closure metadata

closureField1 :: JExpr -> JExpr Source #

Get closure extra field 1

closureField2 :: JExpr -> JExpr Source #

Get closure extra field 2

closureCC :: JExpr -> JExpr Source #

Get closure cost-center

funOrPapArity Source #

Arguments

:: JExpr

heap object

-> Maybe JExpr

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

-> JExpr

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

Field names

Javascript Type literals