Skip to content
  • batterseapower's avatar
    Refactoring: explicitly mark whether we have an info table in RawCmm · 41ca0b8d
    batterseapower authored
    I introduced this to support explicitly recording the info table label
    in RawCmm for another patch I am working on, but it turned out to lead
    to significant simplification in those parts of the compiler that
    consume RawCmm.
    
    Now, instead of lots of tests for null [CmmStatic] we have a simple
    test of a Maybe, and have reduced the number of guys that need to know
    how to convert entry->info labels by a TON. There are only 3 callers
    of that function now!
    41ca0b8d