can a StgRhs have NoCCS when -prof is provided?

2014-06-05 Thread Ömer Sinan Ağacan
Hi all, Can a StgRhs have `NoCCS` as cost-centre stack when -prof is provided while compiling? Or is it always oneOf [CurrentCCS, DontCareCCS, SingletonCCS]? I presume that since we have CCS constructor DontCareCCS and CCS field of StgRhs constructors are not `Maybe CostCentreStack` (so they're

Re: can a StgRhs have NoCCS when -prof is provided?

2014-06-05 Thread Edward Z . Yang
Yes, I think all NoCCS are removed in the SCCfinal pass. NoCCS is a convenient thing to fill in when STG is initially created. Edward Excerpts from Ömer Sinan Ağacan's message of 2014-06-05 09:59:36 -0700: Hi all, Can a StgRhs have `NoCCS` as cost-centre stack when -prof is provided while