[project @ 2001-10-16 15:48:30 by simonmar]
authorsimonmar <unknown>
Tue, 16 Oct 2001 15:48:30 +0000 (15:48 +0000)
committersimonmar <unknown>
Tue, 16 Oct 2001 15:48:30 +0000 (15:48 +0000)
top-level constructor workers should have CCS_SUBSUMED, not NO_CCS.

ghc/compiler/codeGen/CgConTbls.lhs

index 5b862fd..ee5b37b 100644 (file)
@@ -13,7 +13,7 @@ import StgSyn
 import CgMonad
 
 import AbsCUtils       ( mkAbstractCs, mkAbsCStmts )
-import CostCentre      ( noCCS )
+import CostCentre      ( subsumedCCS )
 import CgCon           ( cgTopRhsCon )
 import CgClosure       ( cgTopRhsClosure )
 import CgTailCall      ( performReturn, mkStaticAlgReturnCode )
@@ -184,7 +184,7 @@ cgWorker data_con
 
   | otherwise
   = cgTopRhsClosure work_id
-           noCCS noBinderInfo NoSRT
+           subsumedCCS noBinderInfo NoSRT
            arg_ids rhs
            lf_info
   where