[Git][ghc/ghc][master] 2 commits: doc: Clarify the default for -fomit-yields

Marge Bot gitlab at gitlab.haskell.org
Thu Dec 10 06:46:01 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
35e7b0c6 by Kirill Elagin at 2020-12-10T01:45:54-05:00
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.
- - - - -
3551c554 by Kirill Elagin at 2020-12-10T01:45:54-05:00
doc: Extra-clarify -fomit-yields

Be more clear on what this optimisation being on by default means
in terms of yields.
- - - - -


1 changed file:

- docs/users_guide/using-optimisation.rst


Changes:

=====================================
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 (yields are *not* inserted)
 
     Tells GHC to omit heap checks when no allocation is
     being performed. While this improves binary sizes by about 5%, it



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/54b88eacbf9d13f2b1d070932a742ec74419c3f5...3551c554acd8d692de7948c47a27327988b3a308

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/54b88eacbf9d13f2b1d070932a742ec74419c3f5...3551c554acd8d692de7948c47a27327988b3a308
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201210/7f7d871e/attachment.html>


More information about the ghc-commits mailing list