Skip to content
  • Sylvain Henry's avatar
    Refactor CmmStatics · cc2918a0
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
    In !2959 we noticed that there was some redundant code (in GHC.Cmm.Utils
    and GHC.Cmm.StgToCmm.Utils) used to deal with `CmmStatics` datatype
    (before SRT generation) and `RawCmmStatics` datatype (after SRT
    generation).
    
    This patch removes this redundant code by using a single GADT for
    (Raw)CmmStatics.
    cc2918a0