| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
GHCi.ResolvedBCO
Synopsis
- data ResolvedBCO
- = ResolvedBCO { }
- | ResolvedStaticCon { }
- data ResolvedBCOPtr
- isLittleEndian :: Bool
- data BCOByteArray a = BCOByteArray {}
- mkBCOByteArray :: UArray Int a -> BCOByteArray a
Documentation
data ResolvedBCO Source #
A ResolvedBCO is one in which all the Name references have been
resolved to actual addresses or RemoteHValues.
Constructors
| ResolvedBCO | |
Fields
| |
| ResolvedStaticCon | A resolved static constructor See Note [Static constructors in Bytecode] |
Fields
| |
Instances
data ResolvedBCOPtr Source #
Constructors
| ResolvedBCORef !Int | reference to the Nth BCO in the current set of BCOs and lifted static constructors |
| 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 |
| ResolvedStaticConRef !Int | reference to the Nth static constructor in the current set of BCOs and lifted static constructors |
| ResolvedUnliftedStaticConRef !Int | reference to the Nth unlifted static constructor in the current set of exclusively unlifted static constructors |
Instances
| Binary ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Methods put :: ResolvedBCOPtr -> Put Source # get :: Get ResolvedBCOPtr Source # putList :: [ResolvedBCOPtr] -> Put Source # | |||||
| Generic ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Associated Types
Methods from :: ResolvedBCOPtr -> Rep ResolvedBCOPtr x Source # to :: Rep ResolvedBCOPtr x -> ResolvedBCOPtr Source # | |||||
| Show ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO | |||||
| type Rep ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO type Rep ResolvedBCOPtr = D1 ('MetaData "ResolvedBCOPtr" "GHCi.ResolvedBCO" "ghci-10.0.0.20260917-0599" 'False) ((C1 ('MetaCons "ResolvedBCORef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "ResolvedBCOPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef HValue))) :+: C1 ('MetaCons "ResolvedBCOStaticPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemotePtr ()))))) :+: ((C1 ('MetaCons "ResolvedBCOPtrBCO" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResolvedBCO)) :+: C1 ('MetaCons "ResolvedBCOPtrBreakArray" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef BreakArray)))) :+: (C1 ('MetaCons "ResolvedStaticConRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "ResolvedUnliftedStaticConRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int))))) | |||||
data BCOByteArray a Source #
Wrapper for a ByteArray#.
The phantom type tells what elements are stored in the ByteArray#.
Creating a ByteArray# can be achieved using UArray's API,
where the underlying ByteArray# can be unpacked.
Constructors
| BCOByteArray | |
Fields | |
Instances
| Binary (BCOByteArray Word16) Source # | |
Defined in GHCi.ResolvedBCO | |
| Binary (BCOByteArray Word) Source # | |
Defined in GHCi.ResolvedBCO | |
| Show (BCOByteArray Word16) Source # | |
Defined in GHCi.ResolvedBCO | |
| Show (BCOByteArray Word) Source # | |
Defined in GHCi.ResolvedBCO | |
mkBCOByteArray :: UArray Int a -> BCOByteArray a Source #