ghc-7.0.4: The GHC API

CgForeignCall

# Documentation

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

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

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

shimForeignCallArg :: StgArg -> CmmExpr -> CmmExpr Source

emitSaveThreadState :: Code Source

emitLoadThreadState :: Code Source

emitCloseNursery :: Code Source

emitOpenNursery :: Code Source