ByteCodeLink

ghc-7.6.3: The GHC API

Safe Haskell | None

ByteCodeLink

# Documentation

data HValue

type ClosureEnv = NameEnv (Name, HValue)

emptyClosureEnv :: ClosureEnv

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

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

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

lookupName :: ClosureEnv -> Name -> IO HValue

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