projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1996-03-21 12:46:33 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
simplCore
/
FoldrBuildWW.lhs
diff --git
a/ghc/compiler/simplCore/FoldrBuildWW.lhs
b/ghc/compiler/simplCore/FoldrBuildWW.lhs
index
a3a8a6a
..
7c97d54
100644
(file)
--- a/
ghc/compiler/simplCore/FoldrBuildWW.lhs
+++ b/
ghc/compiler/simplCore/FoldrBuildWW.lhs
@@
-108,7
+108,7
@@
try_split_bind id expr =
| FBGoodProd == prod ->
{- || any (== FBGoodConsum) consum -}
let
| FBGoodProd == prod ->
{- || any (== FBGoodConsum) consum -}
let
- (use_args,big_args,args,body) = digForLambdas expr'
+ (use_args,big_args,args,body) = collectBinders expr'
in
if length args /= length consum -- funny number of arguments
then returnWw [(id,expr')]
in
if length args /= length consum -- funny number of arguments
then returnWw [(id,expr')]