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:
17e8f5c
)
[project @ 2001-03-13 14:18:47 by simonmar]
author
simonmar
<unknown>
Tue, 13 Mar 2001 14:18:47 +0000
(14:18 +0000)
committer
simonmar
<unknown>
Tue, 13 Mar 2001 14:18:47 +0000
(14:18 +0000)
re-instate an ASSERT that was temporarily commented out.
ghc/compiler/codeGen/CodeGen.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CodeGen.lhs
b/ghc/compiler/codeGen/CodeGen.lhs
index
5db06d0
..
f9ee5b7
100644
(file)
--- a/
ghc/compiler/codeGen/CodeGen.lhs
+++ b/
ghc/compiler/codeGen/CodeGen.lhs
@@
-267,7
+267,7
@@
cgTopRhs bndr (StgRhsClosure cc bi fvs upd_flag args body) srt
= -- There should be no free variables
ASSERT(null fvs)
-- If the closure is a thunk, then the binder must be recorded as such.
--- ASSERT2(not (isUpdatable upd_flag) || mayHaveCafRefs (idCafInfo bndr), ppr bndr)
+ ASSERT2(not (isUpdatable upd_flag) || mayHaveCafRefs (idCafInfo bndr), ppr bndr)
getSRTLabel `thenFC` \srt_label ->
let lf_info =