ghc-7.0.3: The GHC API

ByteCodeLink

# Documentation

data HValue Source

type ClosureEnv = NameEnv (Name, HValue)Source

emptyClosureEnv :: NameEnv aSource

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

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

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

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

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