summaryrefslogtreecommitdiff
path: root/compiler/simplCore/CSE.lhs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2007-11-12 16:02:40 +0000
committersimonpj@microsoft.com <unknown>2007-11-12 16:02:40 +0000
commitba00f074b38f4e168c893adc293c5b9cd6992721 (patch)
treede996a62ede0c15b34670d561bec5656271f0fd5 /compiler/simplCore/CSE.lhs
parent16f546834892cecd5b598ac7db2c86d60fabe233 (diff)
downloadhaskell-ba00f074b38f4e168c893adc293c5b9cd6992721.tar.gz
Improve documentation of INLINE, esp its interactions with other transformations
Diffstat (limited to 'compiler/simplCore/CSE.lhs')
-rw-r--r--compiler/simplCore/CSE.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplCore/CSE.lhs b/compiler/simplCore/CSE.lhs
index 66d6adc86e..e0584ad1f6 100644
--- a/compiler/simplCore/CSE.lhs
+++ b/compiler/simplCore/CSE.lhs
@@ -171,7 +171,7 @@ Not CSE-ing inside INLINE also solves an annoying bug in CSE. Consider
a worker/wrapper, in which the worker has turned into a single variable:
$wf = h
f = \x -> ...$wf...
-Now CSE may transoform to
+Now CSE may transform to
f = \x -> ...h...
But the WorkerInfo for f still says $wf, which is now dead! This won't
happen now that we don't look inside INLINEs (which wrappers are).