Skip to content
  • Rodrigo Mesquita's avatar
    ba3e5bdd
    Move code-gen aux symbols from ghc-internal to rts · ba3e5bdd
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    These symbols were all previously defined in ghc-internal and made the
    dependency structure awkward, where the rts may refer to some of these
    symbols and had to work around that circular dependency the way
    described in #26166.
    
    Moreover, the code generator will produce code that uses these symbols!
    Therefore, they should be available in the rts:
    
    PRINCIPLE: If the code generator may produce code which uses this
    symbol, then it should be defined in the rts rather than, say,
    ghc-internal.
    
    That said, the main motivation is towards fixing #26166.
    
    Towards #26166. Pre-requisite of !14892
    ba3e5bdd
    Move code-gen aux symbols from ghc-internal to rts
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    These symbols were all previously defined in ghc-internal and made the
    dependency structure awkward, where the rts may refer to some of these
    symbols and had to work around that circular dependency the way
    described in #26166.
    
    Moreover, the code generator will produce code that uses these symbols!
    Therefore, they should be available in the rts:
    
    PRINCIPLE: If the code generator may produce code which uses this
    symbol, then it should be defined in the rts rather than, say,
    ghc-internal.
    
    That said, the main motivation is towards fixing #26166.
    
    Towards #26166. Pre-requisite of !14892
Loading