ghci-8.4.0.20171214: The library supporting GHC's interactive interpreter

Safe HaskellNone
LanguageHaskell2010

GHCi.ResolvedBCO

Synopsis

Documentation

data ResolvedBCO Source #

A ResolvedBCO is one in which all the Name references have been resolved to actual addresses or RemoteHValues.

Note, all arrays are zero-indexed (we assume this when serializing/deserializing)

Instances
Show ResolvedBCO # 
Instance details
Generic ResolvedBCO # 
Instance details

Associated Types

type Rep ResolvedBCO :: * -> * Source #

Binary ResolvedBCO #

The Binary instance for ResolvedBCOs.

Note, that we do encode the endianness, however there is no support for mixed endianness setups. This is primarily to ensure that ghc and iserv share the same endianness.

Instance details
type Rep ResolvedBCO # 
Instance details

data ResolvedBCOPtr Source #

Constructors

ResolvedBCORef !Int

reference to the Nth BCO in the current set

ResolvedBCOPtr !(RemoteRef HValue)

reference to a previously created BCO

ResolvedBCOStaticPtr !(RemotePtr ())

reference to a static ptr

ResolvedBCOPtrBCO ResolvedBCO

a nested BCO

ResolvedBCOPtrBreakArray !(RemoteRef BreakArray)

Resolves to the MutableArray# inside the BreakArray

Instances
Show ResolvedBCOPtr # 
Instance details
Generic ResolvedBCOPtr # 
Instance details

Associated Types

type Rep ResolvedBCOPtr :: * -> * Source #

Binary ResolvedBCOPtr # 
Instance details
type Rep ResolvedBCOPtr # 
Instance details