summaryrefslogtreecommitdiff
path: root/compiler/GHC/Builtin
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-12-21 21:03:29 +0100
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-12-25 18:26:44 +0100
commite6191d39680351bc69dfb379386c4c5273971030 (patch)
tree9652e70935ff5460d9d0a1d3d6fb173ef5a844ee /compiler/GHC/Builtin
parent80daefce4ec1169ac3ef0552b8600c71527d84c2 (diff)
downloadhaskell-e6191d39680351bc69dfb379386c4c5273971030.tar.gz
Fix typos
Diffstat (limited to 'compiler/GHC/Builtin')
-rw-r--r--compiler/GHC/Builtin/PrimOps.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Builtin/PrimOps.hs b/compiler/GHC/Builtin/PrimOps.hs
index 164d1e2ea7..c048482a8a 100644
--- a/compiler/GHC/Builtin/PrimOps.hs
+++ b/compiler/GHC/Builtin/PrimOps.hs
@@ -467,7 +467,7 @@ Note [Implementation: how can_fail/has_side_effects affect transformations]
How do we ensure that floating/duplication/discarding are done right
in the simplifier?
-Two main predicates on primpops test these flags:
+Two main predicates on primops test these flags:
primOpOkForSideEffects <=> not has_side_effects
primOpOkForSpeculation <=> not (has_side_effects || can_fail)