1. 08 Jul, 2011 3 commits
  2. 07 Jul, 2011 1 commit
  3. 06 Jul, 2011 8 commits
  4. 05 Jul, 2011 4 commits
    • Ian Lynagh's avatar
      bb43ee6a
    • batterseapower's avatar
      Don't export SRT labels · 2aa40627
      batterseapower authored
      2aa40627
    • batterseapower's avatar
    • batterseapower's avatar
      Refactoring: use a structured CmmStatics type rather than [CmmStatic] · 54843b5b
      batterseapower authored
      I observed that the [CmmStatics] within CmmData uses the list in a very stylised way.
      The first item in the list is almost invariably a CmmDataLabel. Many parts of the
      compiler pattern match on this list and fail if this is not true.
      
      This patch makes the invariant explicit by introducing a structured type CmmStatics
      that holds the label and the list of remaining [CmmStatic].
      
      There is one wrinkle: the x86 backend sometimes wants to output an alignment directive just
      before the label. However, this can be easily fixed up by parameterising the native codegen
      over the type of CmmStatics (though the GenCmmTop parameterisation) and using a pair
      (Alignment, CmmStatics) there instead.
      
      As a result, I think we will be able to remove CmmAlign and CmmDataLabel from the CmmStatic
      data type, thus nuking a lot of code and failing pattern matches. This change will come as part
      of my next patch.
      54843b5b
  5. 03 Jul, 2011 8 commits
  6. 02 Jul, 2011 1 commit
  7. 01 Jul, 2011 10 commits
  8. 30 Jun, 2011 5 commits