summaryrefslogtreecommitdiff
path: root/ghc/compiler/coreSyn/CoreSyn.lhs
diff options
context:
space:
mode:
authorsimonpj <unknown>2005-08-10 11:09:07 +0000
committersimonpj <unknown>2005-08-10 11:09:07 +0000
commit70cfef77ff00fbd4a57f733045e62ce0a7ba1307 (patch)
tree09beda2552d4d75d8837bd7a34904309955c45e4 /ghc/compiler/coreSyn/CoreSyn.lhs
parente3a4d6c36802d9395b40af1d9fb24cbd7ce2f720 (diff)
downloadhaskell-70cfef77ff00fbd4a57f733045e62ce0a7ba1307.tar.gz
[project @ 2005-08-10 11:09:05 by simonpj]
Rename exprIsValue to exprIsHNF, which is more accurate
Diffstat (limited to 'ghc/compiler/coreSyn/CoreSyn.lhs')
-rw-r--r--ghc/compiler/coreSyn/CoreSyn.lhs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ghc/compiler/coreSyn/CoreSyn.lhs b/ghc/compiler/coreSyn/CoreSyn.lhs
index 2f6efd4127..201d866834 100644
--- a/ghc/compiler/coreSyn/CoreSyn.lhs
+++ b/ghc/compiler/coreSyn/CoreSyn.lhs
@@ -55,7 +55,6 @@ import OccName ( OccName )
import Literal ( Literal, mkMachInt )
import DataCon ( DataCon, dataConWorkId, dataConTag )
import BasicTypes ( Activation )
-import VarSet
import FastString
import Outputable
\end{code}
@@ -254,7 +253,7 @@ data Unfolding
| CoreUnfolding -- An unfolding with redundant cached information
CoreExpr -- Template; binder-info is correct
Bool -- True <=> top level binding
- Bool -- exprIsValue template (cached); it is ok to discard a `seq` on
+ Bool -- exprIsHNF template (cached); it is ok to discard a `seq` on
-- this variable
Bool -- True <=> doesn't waste (much) work to expand inside an inlining
-- Basically it's exprIsCheap