Wolfgang Jeltsch pushed to branch wip/jeltsch/portable-bco-byte-array-serialization at Glasgow Haskell Compiler / GHC Commits: 14010b37 by Wolfgang Jeltsch at 2026-11-24T22:00:31+02:00 Correct note references - - - - - 176ff991 by Wolfgang Jeltsch at 2026-11-24T22:00:57+02:00 Remove references to concrete operations from note - - - - - 1 changed file: - libraries/ghci/GHCi/ResolvedBCO.hs Changes: ===================================== libraries/ghci/GHCi/ResolvedBCO.hs ===================================== @@ -215,7 +215,7 @@ getBCOByteArrayDirectly @a = do #endif --- See [BCOByteArray serialization]. +-- See Note [BCOByteArray serialization]. instance Binary (BCOByteArray Word16) where #if defined(WORDS_BIGENDIAN) @@ -226,7 +226,7 @@ instance Binary (BCOByteArray Word16) where get = getBCOByteArrayDirectly #endif --- See [BCOByteArray serialization]. +-- See Note [BCOByteArray serialization]. instance Binary (BCOByteArray Word) where #if defined(WORDS_BIGENDIAN) || SIZEOF_HSWORD == 4 @@ -253,10 +253,8 @@ instance Binary (BCOByteArray Word) where -- native bit size. -- -- Whenever the encoding of the payload matches its representation in main --- memory, the whole payload is transferred verbatim (`putBCOByteArrayDirectly`, --- `getBCOByteArrayDirectly`). Otherwise, the elements are serialized or --- deserialized individually (`putBCOByteArrayPortably`, --- `getBCOByteArrayPortably`). +-- memory, the whole payload is transferred verbatim. Otherwise, the elements +-- are serialized or deserialized individually. data ResolvedBCOPtr = ResolvedBCORef {-# UNPACK #-} !Int View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/920da30013fb88b347fd835fd49af05... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/920da30013fb88b347fd835fd49af05... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help