ghc-7.8.4: The GHC API

Safe Haskell | None
Language | Haskell98

ByteCodeLink

# 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)