ghc-7.10.2: The GHC API

Safe Haskell | None
Language | Haskell2010

ByteCodeLink

Description

ByteCodeLink: Bytecode assembler and linker

# Documentation

type ClosureEnv = NameEnv (Name, HValue) Source

emptyClosureEnv :: ClosureEnv Source

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

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

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

lookupName :: ClosureEnv -> Name -> IO HValue Source

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