ghc-lib-8.10.7.20210828: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.StgToCmm.Heap

Synopsis

Documentation

entryHeapCheck' :: Bool -> CmmExpr -> Int -> [LocalReg] -> FCode () -> FCode () Source #

lower-level version for CmmParse

allocHeapClosure Source #

Arguments

:: SMRep

representation of the object

-> CmmExpr

info pointer

-> CmmExpr

cost centre

-> [(CmmExpr, ByteOff)]

payload

-> FCode CmmExpr

returns the address of the object

Low-level heap object allocation.