StgRhsClosure freevar and argument name duplicates

Csaba Hruska csaba.hruska at gmail.com
Sat Nov 3 08:53:30 UTC 2018


Hi,

Can StgRhsClosure's freevar list ([occ]) or argument list ([bndr]) contain
duplicates?

Cheers,
Csaba

data GenStgRhs bndr occ
  = StgRhsClosure
        CostCentreStack         -- CCS to be attached (default is
CurrentCCS)
        StgBinderInfo           -- Info about how this binder is used (see
below)
        *[occ]*                   -- non-global free vars; a list, rather
than
                                -- a set, because order is important
        !UpdateFlag             -- ReEntrant | Updatable | SingleEntry
        *[bndr]*                  -- arguments; if empty, then not a
function;
                                -- as above, order is important.
        (GenStgExpr bndr occ)   -- body
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20181103/4a7f872e/attachment.html>


More information about the ghc-devs mailing list