ByteCodeGen

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

ByteCodeGen

Description

ByteCodeGen: Generate bytecode from Core

# Documentation

data UnlinkedBCO #

Instances

NFData UnlinkedBCO # |
Instance details Defined in ByteCodeTypes Methods rnf :: UnlinkedBCO -> () Source #
Outputable UnlinkedBCO # |
Instance details Defined in ByteCodeTypes Methods ppr :: UnlinkedBCO -> SDoc # pprPrec :: Rational -> UnlinkedBCO -> SDoc #

byteCodeGen :: HscEnv -> Module -> CoreProgram -> [TyCon] -> Maybe ModBreaks -> IO CompiledByteCode #

coreExprToBCOs :: HscEnv -> Module -> CoreExpr -> IO UnlinkedBCO #