ghc-7.6.3: The GHC API

Safe Haskell | None

CgForeignCall

# Documentation

cgForeignCall :: [HintedCmmFormal] -> ForeignCall -> [StgArg] -> StgLiveVars -> Code

emitForeignCall :: [HintedCmmFormal] -> ForeignCall -> [CmmHinted CmmExpr] -> StgLiveVars -> Code

emitForeignCall' :: Safety -> [HintedCmmFormal] -> CmmCallTarget -> [CmmHinted CmmExpr] -> Maybe [GlobalReg] -> C_SRT -> CmmReturnInfo -> Code

shimForeignCallArg :: StgArg -> CmmExpr -> CmmExpr

emitSaveThreadState :: Code

emitLoadThreadState :: Code

emitCloseNursery :: Code

emitOpenNursery :: Code