summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2020-12-08 13:12:09 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-10 01:45:54 -0500
commit35e7b0c6581bb7b577e63b08770bb8f1372435aa (patch)
tree77ff338e08707ec03c950c85b7577c99c80b6470
parent54b88eacbf9d13f2b1d070932a742ec74419c3f5 (diff)
downloadhaskell-35e7b0c6581bb7b577e63b08770bb8f1372435aa.tar.gz
doc: Clarify the default for -fomit-yields
“Yield points enabled” is confusing (and probably wrong? I am not 100% sure what it means). Change it to a simple “on”. Undo this change from 2c23fff2e03e77187dc4d01f325f5f43a0e7cad2.
-rw-r--r--docs/users_guide/using-optimisation.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/using-optimisation.rst b/docs/users_guide/using-optimisation.rst
index 8fec4f1a7b..5423128be7 100644
--- a/docs/users_guide/using-optimisation.rst
+++ b/docs/users_guide/using-optimisation.rst
@@ -720,7 +720,7 @@ by saying ``-fno-wombat``.
:reverse: -fno-omit-yields
:category:
- :default: yield points enabled
+ :default: on
Tells GHC to omit heap checks when no allocation is
being performed. While this improves binary sizes by about 5%, it