projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0dc2b9d
)
Add a comment on why some seq's are done
author
Ian Lynagh
<igloo@earth.li>
Thu, 21 Oct 2010 11:34:04 +0000
(11:34 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 21 Oct 2010 11:34:04 +0000
(11:34 +0000)
compiler/stgSyn/CoreToStg.lhs
patch
|
blob
|
history
diff --git
a/compiler/stgSyn/CoreToStg.lhs
b/compiler/stgSyn/CoreToStg.lhs
index
c81edcd
..
2059937
100644
(file)
--- a/
compiler/stgSyn/CoreToStg.lhs
+++ b/
compiler/stgSyn/CoreToStg.lhs
@@
-549,6
+549,8
@@
coreToStgApp _ f args = do
-- All the free vars of the args are disqualified
-- from being let-no-escaped.
-- All the free vars of the args are disqualified
-- from being let-no-escaped.
+ -- Forcing these fixes a leak in the code generator, noticed while
+ -- profiling for trac #4367
app `seq` fvs `seq` seqVarSet vars `seq` return (
app,
fvs,
app `seq` fvs `seq` seqVarSet vars `seq` return (
app,
fvs,