diff options
author | John Ericson <git@JohnEricson.me> | 2019-10-19 18:59:48 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-10 05:37:19 -0500 |
commit | 4bb957de6e32722d04f47ddd57b6010dbc7770d2 (patch) | |
tree | 3cce78bc23da96f6bc355021457f4a987def53e6 | |
parent | a2567e99ecda3f92c24dcdb97c098e39a33aab11 (diff) | |
download | haskell-4bb957de6e32722d04f47ddd57b6010dbc7770d2.tar.gz |
Fix `not32Word#` -> `notWord32#`
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.pp | 2 |
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# |