ghc-7.0.3: The GHC API

StgCmmForeign

# Documentation

cgForeignCall :: [LocalReg] -> [ForeignHint] -> ForeignCall -> [StgArg] -> FCode ()

loadThreadState :: LocalReg -> CmmAGraph

saveThreadState :: CmmAGraph

emitPrimCall :: CmmFormals -> CallishMachOp -> CmmActuals -> FCode ()

emitCCall :: [(CmmFormal, ForeignHint)] -> CmmExpr -> [(CmmActual, ForeignHint)] -> FCode ()

emitSaveThreadState :: BlockId -> FCode ()

emitLoadThreadState :: LocalReg -> FCode ()

emitOpenNursery :: FCode ()