heapIdInfo, CgIdInfo
)
import CgClosure ( cgTopRhsClosure )
-import CgCompInfo ( mAX_INTLIKE, mIN_INTLIKE )
+import Constants ( mAX_INTLIKE, mIN_INTLIKE )
import CgHeapery ( allocDynClosure )
import CgRetConv ( dataReturnConvAlg, DataReturnConvention(..) )
import CgTailCall ( performReturn, mkStaticAlgReturnCode )
layOutStaticClosure
)
import CostCentre ( currentOrSubsumedCosts, useCurrentCostCentre,
- dontCareCostCentre
+ dontCareCostCentre, CostCentre
)
import Id ( idPrimRep, dataConTag, dataConTyCon,
isDataCon, SYN_IE(DataCon),
- emptyIdSet
+ emptyIdSet, SYN_IE(Id)
)
import Literal ( Literal(..) )
import Maybes ( maybeToBool )
= cgTopRhsClosure name top_cc NoStgBinderInfo [] body lf_info
where
body = StgCon con args emptyIdSet{-emptyLiveVarSet-}
- lf_info = mkClosureLFInfo True {- Top level -} [] ReEntrant [] body
+ lf_info = mkClosureLFInfo True {- Top level -} [] ReEntrant []
\end{code}
OK, so now we have the general case.