Safe Haskell | None |
---|---|
Language | GHC2021 |
Bytecode assembler and linker
Synopsis
- assembleBCOs :: Interp -> Profile -> FlatBag (ProtoBCO Name) -> [TyCon] -> AddrEnv -> Maybe ModBreaks -> [SptEntry] -> 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 -> FlatBag (ProtoBCO Name) -> [TyCon] -> AddrEnv -> Maybe ModBreaks -> [SptEntry] -> 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 #