1. 06 Sep, 2008 8 commits
  2. 05 Sep, 2008 13 commits
  3. 04 Sep, 2008 5 commits
  4. 03 Sep, 2008 4 commits
    • Ian Lynagh's avatar
    • Ian Lynagh's avatar
      Fix ifBuildable · 3a006cb5
      Ian Lynagh authored
      Required libraries now have 3 fields in the packages file, not 2
    • simonpj@microsoft.com's avatar
      Major change in compilation of instance declarations (fix Trac #955, #2328) · f16dbbbe
      simonpj@microsoft.com authored
      This patch makes an important change to the way that dictionary
      functions are handled.  Before, they were unconditionally marked
      INLIINE, but all the code written by the user in the instance
      was inside that unconditionally-inlined function.  Result: massive
      code bloat in programs that use complicated instances.
      This patch make instances behave rather as if all the methods
      were written in separate definitions.  That dramatically reduces
      bloat.  The new plan is described in TcInstDcls
      	Note [How instance declarations are translated]
      Everything validates.  The major code-bloat bug is squashed: in particular
      DoCon is fine now (Trac #2328) and I believe that #955 is also better.
      Nofib results:
      Binary sizes
              -1 s.d.      +2.5%
              +1 s.d.      +3.1%
              Average      +2.8%
              -1 s.d.      -6.4%
              +1 s.d.      +2.5%
              Average      -2.0%
      Note that 2% improvement.  Some programs improve by 2...
    • simonpj@microsoft.com's avatar
      Improved specialisation of recursive groups · 78260da4
      simonpj@microsoft.com authored
      This patch significantly improves the way in which recursive groups
      are specialised.  This turns out ot be very important when specilising
      the bindings that (now) emerge from instance declarations.
          let rec { f x = ...g x'...
                  ; g y = ...f y'.... }
          in f 'a'
      Here we specialise 'f' at Char; but that is very likely to lead to 
      a specialisation of 'g' at Char.  We must do the latter, else the
      whole point of specialisation is lost.  This was not happening before.
      The whole thing is desribed in 
          Note [Specialising a recursive group]
  5. 02 Sep, 2008 2 commits
  6. 01 Sep, 2008 1 commit
    • Simon Marlow's avatar
      Check the modification times of libraries in --make link step · 880a6b90
      Simon Marlow authored
      When linking in --make we check the modification time of the
      executable against the modification time of the object files, and only
      re-link if any object file is newer.  However, we should also check
      the modification times of packages, since the recompilation checker
      also tracks dependencies in packages.  
      In a GHC build this means that if you recompile stage2 and don't
      manage to change any fingerpints, we won't recompile Main but we'll
      still re-link it.
  7. 31 Aug, 2008 1 commit
  8. 30 Aug, 2008 3 commits
  9. 31 Aug, 2008 1 commit
  10. 30 Aug, 2008 2 commits