As far as I can see in the native code compiler we mark DataCon
pointers in two places:

1. In allocation sites (StgCmmCon.hs:240)
2. In DataCon entry code (StgCmm.hs:244)

I was wondering why we can't get away with just doing (1). Can anyone give me
an example where an allocation doesn't return a tagged pointer and we need to
tag it in entry code? If every allocation returns a tagged pointer, then why do
we need (2) ?

Thanks
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to