ghc-7.0.3: 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)