Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bytecode assembler and linker
Synopsis
- assembleBCOs :: Interp -> Profile -> [ProtoBCO Name] -> [TyCon] -> AddrEnv -> Maybe ModBreaks -> IO CompiledByteCode
- assembleOneBCO :: Interp -> Profile -> ProtoBCO Name -> IO UnlinkedBCO
- bcoFreeNames :: UnlinkedBCO -> UniqDSet Name
- data SizedSeq a
- sizeSS :: SizedSeq a -> Word
- ssElts :: SizedSeq a -> [a]
- iNTERP_STACK_CHECK_THRESH :: Int
- mkNativeCallInfoLit :: Platform -> NativeCallInfo -> Literal
Documentation
assembleBCOs :: Interp -> Profile -> [ProtoBCO Name] -> [TyCon] -> AddrEnv -> Maybe ModBreaks -> IO CompiledByteCode Source #
assembleOneBCO :: Interp -> Profile -> ProtoBCO Name -> IO UnlinkedBCO Source #
bcoFreeNames :: UnlinkedBCO -> UniqDSet Name Source #
Finds external references. Remember to remove the names defined by this group of BCOs themselves
Instances
mkNativeCallInfoLit :: Platform -> NativeCallInfo -> Literal Source #