summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simon.peytonjones@gmail.com>2022-04-07 23:36:24 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-08 13:58:55 -0400
commite58d5eeb90fb0c35ff08d8d9f752eab74fc9889e (patch)
tree9743a7d18f48c4eb7504ff57330d664c90c56a88
parent0736e949b71a0c2b5eb404aac7a5883dd52b7b5c (diff)
downloadhaskell-e58d5eeb90fb0c35ff08d8d9f752eab74fc9889e.tar.gz
Tiny documentation wibble
This commit commit 83363c8b04837ee871a304cf85207cf79b299fb0 Author: Simon Peyton Jones <simon.peytonjones@gmail.com> Date: Fri Mar 11 16:55:38 2022 +0000 Use prepareBinding in tryCastWorkerWrapper refactored completeNonRecX away, but left a Note referring to it. This MR fixes that Note.
-rw-r--r--compiler/GHC/Core/Opt/Simplify.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Opt/Simplify.hs b/compiler/GHC/Core/Opt/Simplify.hs
index e6f803b512..e1b54cf5da 100644
--- a/compiler/GHC/Core/Opt/Simplify.hs
+++ b/compiler/GHC/Core/Opt/Simplify.hs
@@ -1772,8 +1772,8 @@ Note [Avoiding exponential behaviour]
One way in which we can get exponential behaviour is if we simplify a
big expression, and the re-simplify it -- and then this happens in a
deeply-nested way. So we must be jolly careful about re-simplifying
-an expression. That is why completeNonRecX does not try
-preInlineUnconditionally.
+an expression. That is why simplNonRecX does not try
+preInlineUnconditionally (unlike simplNonRecE).
Example:
f BIG, where f has a RULE