ByteCodeLink

ghc-7.0.4: The GHC API

ByteCodeLink

# Documentation

data HValue

type ClosureEnv = NameEnv (Name, HValue)

emptyClosureEnv :: NameEnv a

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)