ByteCodeLink

ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

ByteCodeLink

# 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