diff options
author | Abhiroop Sarkar <asiamgenius@gmail.com> | 2018-11-05 12:06:58 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-11-17 10:03:17 -0500 |
commit | 36fcf9edee31513db2ddbf716ee0aa79766cbe69 (patch) | |
tree | 76d3bf5734d852b53caea24c70b024f1b24204d5 /utils/genprimopcode | |
parent | 0e7790abf7d19d19f84c86dc95e50beb65462d12 (diff) | |
download | haskell-36fcf9edee31513db2ddbf716ee0aa79766cbe69.tar.gz |
Introduce Int16# and Word16#
This builds off of D4475.
Bumps binary submodule.
Reviewers: carter, AndreasK, hvr, goldfire, bgamari, simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D5006
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r-- | utils/genprimopcode/Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs index e422c1fa58..863a7d239c 100644 --- a/utils/genprimopcode/Main.hs +++ b/utils/genprimopcode/Main.hs @@ -835,11 +835,13 @@ ppType (TyApp (TyCon "Bool") []) = "boolTy" ppType (TyApp (TyCon "Int#") []) = "intPrimTy" ppType (TyApp (TyCon "Int8#") []) = "int8PrimTy" -ppType (TyApp (TyCon "Word8#") []) = "word8PrimTy" +ppType (TyApp (TyCon "Int16#") []) = "int16PrimTy" ppType (TyApp (TyCon "Int32#") []) = "int32PrimTy" ppType (TyApp (TyCon "Int64#") []) = "int64PrimTy" ppType (TyApp (TyCon "Char#") []) = "charPrimTy" ppType (TyApp (TyCon "Word#") []) = "wordPrimTy" +ppType (TyApp (TyCon "Word8#") []) = "word8PrimTy" +ppType (TyApp (TyCon "Word16#") []) = "word16PrimTy" ppType (TyApp (TyCon "Word32#") []) = "word32PrimTy" ppType (TyApp (TyCon "Word64#") []) = "word64PrimTy" ppType (TyApp (TyCon "Addr#") []) = "addrPrimTy" |