X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FsimplCore%2FFoldrBuildWW.lhs;fp=ghc%2Fcompiler%2FsimplCore%2FFoldrBuildWW.lhs;h=7c97d5415154d4467cc5ebe9c177cd67f2d66018;hb=0596517a9b4b2b32e5d375a986351102ac4540fc;hp=a3a8a6ab549dee836a82cf78c4f45e5025a31f95;hpb=6c381e873e222417d9a67aeec77b9555eca7b7a8;p=ghc-hetmet.git diff --git a/ghc/compiler/simplCore/FoldrBuildWW.lhs b/ghc/compiler/simplCore/FoldrBuildWW.lhs index a3a8a6a..7c97d54 100644 --- 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 - (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')]