1. 12 Jul, 2011 13 commits
  2. 11 Jul, 2011 1 commit
  3. 08 Jul, 2011 8 commits
  4. 07 Jul, 2011 1 commit
  5. 06 Jul, 2011 8 commits
  6. 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
  7. 03 Jul, 2011 5 commits
    • Ian Lynagh's avatar
      Remove -fmethod-sharing · 2c9df426
      Ian Lynagh authored
      It was already deprecated, and marked for removal in 7.2.
      2c9df426
    • Ian Lynagh's avatar
      Remove the Opt_Generics constructor · b8f32576
      Ian Lynagh authored
      We no longer advertise that we support the Generics extension,
      although we still do accept -XGenerics and -XNoGenerics flags
      (but warn that we are ignoring them).
      
      I also remove the even older -fgenerics and -fno-generics flags.
      b8f32576
    • Ian Lynagh's avatar
      -optm is now deprecated · dfc32cd8
      Ian Lynagh authored
      dfc32cd8
    • Ian Lynagh's avatar
      Fix typos · 80a718eb
      Ian Lynagh authored
      80a718eb
    • Ian Lynagh's avatar
      defaultErrorHandler now only takes LogAction · e01fffc6
      Ian Lynagh authored
      It used to take a whole DynFlags, but that meant we had to
      create a DynFlags with (panic "No settings") for settings, as
      we didn't have any real settings.
      
      Now we just pass the LogAction, which is all that it actually needed.
      The default is exported from DynFlags as defaultLogAction.
      e01fffc6