On 13 November 2011 01:30, David Terei <[email protected]> wrote:
> Can anyone confirm that in Core let bindings _aren't_ the only place
> allocation occur (so read it like Haskell) but the 2 rules do hold for
> STG? Or maybe I'm dumping core wrong...

Yep I think you are right - allocation is only confined to "let" if
your code is in ANF.

One thing to bear in mind is that although in ANF all allocation is
via "let", not every "let" allocates (due to the presence of unlifted
let bindings).

Max

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to