1. 03 Feb, 2009 1 commit
  2. 02 Feb, 2009 1 commit
    • Simon Marlow's avatar
      Optimise writing out the .s file · 6ba3d614
      Simon Marlow authored
      I noticed while working on the new IO library that GHC was writing out
      the .s file in lots of little chunks.  It turns out that this is a
      result of using multiple printDocs to avoid space leaks in the NCG,
      where each printDoc is finishing up with an hFlush.  
      
      What's worse, is that this makes poor use of the optimisation inside
      printDoc that uses its own buffering to avoid hitting the Handle all
      the time.
      
      So I hacked around this by making the buffering optimisation inside
      Pretty visible from the outside, for use in the NCG.  The changes are
      quite small.
      6ba3d614
  3. 23 Jan, 2009 1 commit
  4. 30 Jan, 2009 2 commits
  5. 02 Feb, 2009 2 commits
  6. 30 Jan, 2009 1 commit
  7. 01 Feb, 2009 1 commit
  8. 30 Jan, 2009 2 commits
    • simonpj@microsoft.com's avatar
      Fix Trac #2985: generating superclasses and recursive dictionaries · c04a5fe3
      simonpj@microsoft.com authored
      The Note [Recursive instances and superclases] explains the subtle
      issues to do with generating the bindings for superclasses when
      we compile an instance declaration, at least if we want to do the
      clever "recursive superclass" idea from the SYB3 paper.
      
      The old implementation of tcSimplifySuperClasses stumbled when
      type equalities entered the picture (details in the Note); this
      patch fixes the problem using a slightly hacky trick.  When we
      re-engineer the constraint solver we'll want to keep an eye on 
      this.
      
      Probably worth merging to the 6.10 branch.
      
      c04a5fe3
    • simonpj@microsoft.com's avatar
      White space only · 6a104dcf
      simonpj@microsoft.com authored
      6a104dcf
  9. 29 Jan, 2009 1 commit
    • simonpj@microsoft.com's avatar
      Two more wibbles to CorePrep (fixes HTTP package and DPH) · 6af98b2f
      simonpj@microsoft.com authored
      Ensuring that 
        a) lambdas show up only on the RHSs of binding after CorePrep
        b) the arity of a binding exactly matches the maifest lambdas
      is surprisingly tricky.
      
      I got it wrong (again) in my recent CorePrep shuffling, which broke
      packages HTTP and DPH.  This patch fixes both.
      6af98b2f
  10. 28 Jan, 2009 1 commit
  11. 27 Jan, 2009 3 commits
  12. 26 Jan, 2009 2 commits
  13. 23 Jan, 2009 1 commit
  14. 22 Jan, 2009 1 commit
  15. 21 Jan, 2009 7 commits
  16. 20 Jan, 2009 2 commits
  17. 19 Jan, 2009 1 commit
  18. 09 Dec, 2008 1 commit
  19. 20 Jan, 2009 1 commit
  20. 16 Jan, 2009 1 commit
  21. 20 Jan, 2009 3 commits
  22. 15 Jan, 2009 3 commits
  23. 14 Jan, 2009 1 commit