summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-10-19 18:59:48 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-09 04:12:03 +0000
commitd78fc8ce908874a703e5aa6782aac9bf2553f383 (patch)
tree2090b3c2fb5410ceb107d34aec366e09f6d6dd1d
parentbd877edd9499a351db947cd51ed583872b2facdf (diff)
downloadhaskell-wip/fix-primop-name.tar.gz
Fix `not32Word#` -> `notWord32#`wip/fix-primop-name
This is is correcting a mistake I unfortunately missed in !4698. But that is a recent PR so this fix is not a compatibility hazard with released versions of GHC.
-rw-r--r--compiler/GHC/Builtin/primops.txt.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Builtin/primops.txt.pp b/compiler/GHC/Builtin/primops.txt.pp
index 37a3b33979..49e533dfcd 100644
--- a/compiler/GHC/Builtin/primops.txt.pp
+++ b/compiler/GHC/Builtin/primops.txt.pp
@@ -535,7 +535,7 @@ primop Word32OrOp "orWord32#" GenPrimOp Word32# -> Word32# -> Word32#
primop Word32XorOp "xorWord32#" GenPrimOp Word32# -> Word32# -> Word32#
with commutable = True
-primop Word32NotOp "not32Word#" GenPrimOp Word32# -> Word32#
+primop Word32NotOp "notWord32#" GenPrimOp Word32# -> Word32#
primop Word32SllOp "uncheckedShiftLWord32#" GenPrimOp Word32# -> Int# -> Word32#
primop Word32SrlOp "uncheckedShiftRLWord32#" GenPrimOp Word32# -> Int# -> Word32#