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 not optional), when -prof is provided CCS fields should not be
filled with NoCCS(if we still don't care about CCS for some reason, it
should be DontCareCCS) but I just wanted to make sure.

Thanks.

---
Ömer Sinan Ağacan
http://osa1.net
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to