[project @ 2001-03-13 14:18:47 by simonmar]
authorsimonmar <unknown>
Tue, 13 Mar 2001 14:18:47 +0000 (14:18 +0000)
committersimonmar <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

index 5db06d0..f9ee5b7 100644 (file)
@@ -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 =