1. 09 Dec, 2008 1 commit
  2. 20 Jan, 2009 1 commit
  3. 16 Jan, 2009 1 commit
  4. 20 Jan, 2009 3 commits
  5. 15 Jan, 2009 3 commits
  6. 14 Jan, 2009 1 commit
  7. 12 Jan, 2009 3 commits
  8. 10 Jan, 2009 2 commits
  9. 05 Jan, 2009 1 commit
  10. 18 Jan, 2009 1 commit
  11. 17 Jan, 2009 3 commits
  12. 18 Jan, 2009 1 commit
  13. 14 Jan, 2009 2 commits
  14. 16 Jan, 2009 2 commits
    • Simon Marlow's avatar
      UNDO: Always check the result of pthread_mutex_lock() and pthread_mutex_unlock(). · b2d4af35
      Simon Marlow authored
      This patch caused problems on Mac OS X, undoing until we can do it better.
      
      rolling back:
      
      Sun Jan  4 19:24:43 GMT 2009  Matthias Kilian <kili@outback.escape.de>
        * Always check the result of pthread_mutex_lock() and pthread_mutex_unlock().
        
        Don't check pthread_mutex_*lock() only on Linux and/or only if DEBUG
        is defined. The return values of those functions are well defined
        and should be supported on all operation systems with pthreads. The
        checks are cheap enough to do them even in the default build (without
        -DDEBUG).
        
        While here, recycle an unused macro ASSERT_LOCK_NOTHELD, and let
        the debugBelch part enabled with -DLOCK_DEBUG work independently
        of -DDEBUG.
        
      
          M ./includes/OSThreads.h -30 +10
      b2d4af35
    • Simon Marlow's avatar
      Update config.guess, config.sub and install.sh from automake-1.10.2 · 09c5b3c4
      Simon Marlow authored
      In particular, config.guess should now know about x86_64-pc-solaris2
      09c5b3c4
  15. 15 Jan, 2009 4 commits
  16. 14 Jan, 2009 6 commits
  17. 13 Jan, 2009 5 commits
    • simonpj@microsoft.com's avatar
      Fix Trac #2931 · 97583b57
      simonpj@microsoft.com authored
      Fix the lexical analyser when it encounters 'x<EOF> and Template 
      Haskell is on.
      97583b57
    • simonpj@microsoft.com's avatar
      Rewrite CorePrep and improve eta expansion · 62eeda5a
      simonpj@microsoft.com authored
      This patch does two main things
      
      a) Rewrite most of CorePrep to be much easier to understand (I hope!).
         The invariants established by CorePrep are now written out, and
         the code is more perspicuous.  It is surpringly hard to get right,
         and the old code had become quite incomprehensible.
      
      b) Rewrite the eta-expander so that it does a bit of simplifying
         on-the-fly, and thereby guarantees to maintain the CorePrep
         invariants.  This make it much easier to use from CorePrep, and
         is a generally good thing anyway.
      
      A couple of pieces of re-structuring:
      
      *  I moved the eta-expander and arity analysis stuff into a new
         module coreSyn/CoreArity.
      
         Max will find that the type CoreArity.EtaInfo looks strangely 
         familiar.
      
      *  I moved a bunch of comments from Simplify to OccurAnal; that's
         why it looks as though there's a lot of lines changed in those
         modules.
      
      On the way I fixed various things
      
        - Function arguments are eta expanded
             f (map g)  ===>  let s = \x. map g x in f s
      
        - Trac #2368
      
      The result is a modest performance gain, I think mainly due
      to the first of these changes:
      
      --------------------------------------------------------------------------------
              Program           Size    Allocs   Runtime   Elapsed
      --------------------------------------------------------------------------------
                  Min          -1.0%    -17.4%    -19.1%    -46.4%
                  Max          +0.3%     +0.5%     +5.4%    +53.8%
       Geometric Mean          -0.1%     -0.3%     -7.0%    -10.2%
      
      
      62eeda5a
    • simonpj@microsoft.com's avatar
    • simonpj@microsoft.com's avatar
      Spelling in comment only · 678086d0
      simonpj@microsoft.com authored
      678086d0
    • simonpj@microsoft.com's avatar
      Make the ASSERT more informative · b01702b5
      simonpj@microsoft.com authored
      b01702b5