ghc-7.0.3: The GHC API

CgForeignCall

# Documentation

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

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

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

shimForeignCallArg :: StgArg -> CmmExpr -> CmmExpr

emitSaveThreadState :: Code

emitLoadThreadState :: Code

emitCloseNursery :: Code

emitOpenNursery :: Code