ghc-6.12.2: The GHC APISource codeContentsIndex
ByteCodeAsm
Synopsis
assembleBCOs :: [ProtoBCO Name] -> [TyCon] -> IO CompiledByteCode
assembleBCO :: ProtoBCO Name -> IO UnlinkedBCO
data CompiledByteCode = ByteCode [UnlinkedBCO] ItblEnv
data UnlinkedBCO = UnlinkedBCO {
unlinkedBCOName :: Name
unlinkedBCOArity :: Int
unlinkedBCOInstrs :: ByteArray#
unlinkedBCOBitmap :: ByteArray#
unlinkedBCOLits :: SizedSeq BCONPtr
unlinkedBCOPtrs :: SizedSeq BCOPtr
}
data BCOPtr
= BCOPtrName Name
| BCOPtrPrimOp PrimOp
| BCOPtrBCO UnlinkedBCO
| BCOPtrBreakInfo BreakInfo
| BCOPtrArray (MutableByteArray# RealWorld)
data BCONPtr
= BCONPtrWord Word
| BCONPtrLbl FastString
| BCONPtrItbl Name
bcoFreeNames :: UnlinkedBCO -> NameSet
data SizedSeq a
sizeSS :: SizedSeq a -> Word
ssElts :: SizedSeq a -> [a]
iNTERP_STACK_CHECK_THRESH :: Int
Documentation
assembleBCOs :: [ProtoBCO Name] -> [TyCon] -> IO CompiledByteCodeSource
assembleBCO :: ProtoBCO Name -> IO UnlinkedBCOSource
data CompiledByteCode Source
Constructors
ByteCode [UnlinkedBCO] ItblEnv
show/hide Instances
data UnlinkedBCO Source
Constructors
UnlinkedBCO
unlinkedBCOName :: Name
unlinkedBCOArity :: Int
unlinkedBCOInstrs :: ByteArray#
unlinkedBCOBitmap :: ByteArray#
unlinkedBCOLits :: SizedSeq BCONPtr
unlinkedBCOPtrs :: SizedSeq BCOPtr
show/hide Instances
data BCOPtr Source
Constructors
BCOPtrName Name
BCOPtrPrimOp PrimOp
BCOPtrBCO UnlinkedBCO
BCOPtrBreakInfo BreakInfo
BCOPtrArray (MutableByteArray# RealWorld)
data BCONPtr Source
Constructors
BCONPtrWord Word
BCONPtrLbl FastString
BCONPtrItbl Name
bcoFreeNames :: UnlinkedBCO -> NameSetSource
Finds external references. Remember to remove the names defined by this group of BCOs themselves
data SizedSeq a Source
sizeSS :: SizedSeq a -> WordSource
ssElts :: SizedSeq a -> [a]Source
iNTERP_STACK_CHECK_THRESH :: IntSource
Produced by Haddock version 2.6.1