Skip to content
  • Jan Stolarek's avatar
    Cleanup StgCmm pass · e5374a1b
    Jan Stolarek authored
    This cleanup includes:
      * removing dead code. This includes forkStatics function,
        which was in fact one big noop, and global bindings in
        CgInfoDownwards,
      * converting functions that used FCode monad only to
        access DynFlags into functions that take DynFlags
        as a parameter and don't work in a monad,
      * addBindC function is now smarter. It extracts Id from
        CgIdInfo passed to it in the same way addBindsC does.
        Previously this was done at every call site, which was
        redundant.
    e5374a1b