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

GHC.StgToCmm.Heap

Synopsis

Documentation

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

lower-level version for GHC.Cmm.Parser

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.