summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r--libraries/ghc-prim/GHC/Types.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index 7ab870684d..9f2d3bc15b 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -394,10 +394,12 @@ data RuntimeRep = VecRep VecCount VecElem -- ^ a SIMD vector type
| LiftedRep -- ^ lifted; represented by a pointer
| UnliftedRep -- ^ unlifted; represented by a pointer
| IntRep -- ^ signed, word-sized value
- | Int8Rep -- ^ signed, 8-bit value
+ | Int8Rep -- ^ signed, 8-bit value
+ | Int16Rep -- ^ signed, 16-bit value
| Int64Rep -- ^ signed, 64-bit value (on 32-bit only)
| WordRep -- ^ unsigned, word-sized value
- | Word8Rep -- ^ unsigned, 8-bit value
+ | Word8Rep -- ^ unsigned, 8-bit value
+ | Word16Rep -- ^ unsigned, 16-bit value
| Word64Rep -- ^ unsigned, 64-bit value (on 32-bit only)
| AddrRep -- ^ A pointer, but /not/ to a Haskell value
| FloatRep -- ^ a 32-bit floating point number