ByteCodeLink

ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

ByteCodeLink

Description

ByteCodeLink: Bytecode assembler and linker

# Documentation

type ClosureEnv = NameEnv (Name, HValue)

emptyClosureEnv :: ClosureEnv

extendClosureEnv :: ClosureEnv -> [(Name, HValue)] -> ClosureEnv

linkBCO :: DynFlags -> ItblEnv -> ClosureEnv -> UnlinkedBCO -> IO HValue

lookupStaticPtr :: FastString -> IO (Ptr ())

lookupName :: ClosureEnv -> Name -> IO HValue

lookupIE :: DynFlags -> ItblEnv -> Name -> IO (Ptr a)