1. 16 Jan, 2009 1 commit
  2. 20 Jan, 2009 3 commits
  3. 15 Jan, 2009 3 commits
  4. 14 Jan, 2009 1 commit
  5. 12 Jan, 2009 3 commits
  6. 10 Jan, 2009 2 commits
  7. 05 Jan, 2009 1 commit
  8. 18 Jan, 2009 1 commit
  9. 17 Jan, 2009 3 commits
  10. 18 Jan, 2009 1 commit
  11. 14 Jan, 2009 2 commits
  12. 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
        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
    • 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
  13. 15 Jan, 2009 4 commits
  14. 14 Jan, 2009 6 commits
  15. 13 Jan, 2009 7 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.
    • 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 
      *  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
      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%
    • simonpj@microsoft.com's avatar
    • simonpj@microsoft.com's avatar
      Spelling in comment only · 678086d0
      simonpj@microsoft.com authored
    • simonpj@microsoft.com's avatar
      Make the ASSERT more informative · b01702b5
      simonpj@microsoft.com authored
    • simonpj@microsoft.com's avatar
      Export mapOL from OrdList · 205d489c
      simonpj@microsoft.com authored
    • simonpj@microsoft.com's avatar
      Improve error messages slightly · cab7dec5
      simonpj@microsoft.com authored