summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-06-10 09:32:50 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-17 12:20:26 -0400
commit0a9b77b8b4313a9ffe7483cbc286d249fda59e75 (patch)
treeb2f463b84513f965b3bf2b505a443230d6fc0364 /compiler/codeGen
parent52f755aa203c55e44dce79c9ac1abc245977b000 (diff)
downloadhaskell-0a9b77b8b4313a9ffe7483cbc286d249fda59e75.tar.gz
Create {Int,Word}32Rep
This prepares the way for making Int32# and Word32# the actual size they claim to be. Updates binary submodule for (de)serializing the new runtime reps.
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/StgCmmArgRep.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/codeGen/StgCmmArgRep.hs b/compiler/codeGen/StgCmmArgRep.hs
index 7d1962fd09..ef40fce464 100644
--- a/compiler/codeGen/StgCmmArgRep.hs
+++ b/compiler/codeGen/StgCmmArgRep.hs
@@ -74,6 +74,8 @@ toArgRep Int8Rep = N -- Gets widened to native word width for calls
toArgRep Word8Rep = N -- Gets widened to native word width for calls
toArgRep Int16Rep = N -- Gets widened to native word width for calls
toArgRep Word16Rep = N -- Gets widened to native word width for calls
+toArgRep Int32Rep = N -- Gets widened to native word width for calls
+toArgRep Word32Rep = N -- Gets widened to native word width for calls
toArgRep AddrRep = N
toArgRep Int64Rep = L
toArgRep Word64Rep = L