1. 13 Aug, 2004 1 commit
  2. 12 Aug, 2004 6 commits
  3. 10 Aug, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-08-10 09:02:36 by simonmar] · c9a32c38
      simonmar authored
      Fix problem with inline foreign-call changes yesterday.  Foreign call
      args sometimes have to be modified using shimFCallArg - nowadays this
      is done at code generation time, whereas it used to be done at
      pretty-printing time.
      c9a32c38
  4. 09 Aug, 2004 4 commits
    • simonmar's avatar
      [project @ 2004-08-09 14:27:53 by simonmar] · 05881eca
      simonmar authored
      Two changes:
      
        - newly created or unblocked threads go to the back of the run
          queue.  This is fairer because it avoids possible starvation.
          Fixes problem with conc004 test going much slower with optimisation.
      
        - The context switch flag is only reset after a yield.  Previously,
          it was being reset before we ran a thread, which meant that a tick
          that arrived during GC would be lost, and a thread doing lots of
          GC could hog the CPU.  Now, GC is effectively counted as part of
          the last running thread's timeslice.
      
      MERGE TO STABLE.
      05881eca
    • simonmar's avatar
      [project @ 2004-08-09 13:19:29 by simonmar] · 46d88d87
      simonmar authored
      Allow case-of-unsafe-ccall to compile to straight-line code, like it
      used to.  This has already been fixed on the backend-hacking-branch,
      but I'm doing it here so that it can be merged into the STABLE branch,
      where it will help to work around a bug.
      
      The bug is in CgExpr.lhs:primRetUnboxedTuple, which picks temporaries
      to assign the result of a ccall to.  The Cg monad doesn't have a uniq
      supply (in the HEAD), so we always pick the same temporaries.  This
      leads to clashes in complex function with multiple ccalls.  Again,
      this is already fixed in the backend-hacking-branch.  I don't see an
      easy fix for this bug.
      
      The compilation of case-of-unsafe-ccall doesn't suffer from this
      problem, and it will help work around some cases of the bug, so I'm
      going to merge this onto the STABLE branch after some testing.
      46d88d87
    • simonmar's avatar
      [project @ 2004-08-09 12:35:02 by simonmar] · a8601d0e
      simonmar authored
      Fix scoped type variable example.
      a8601d0e
    • simonmar's avatar
      [project @ 2004-08-09 12:15:09 by simonmar] · dfd0efbe
      simonmar authored
      Put a "-- " before the location info, since the rest of the output
      looks like Haskell source.
      dfd0efbe
  5. 08 Aug, 2004 2 commits
  6. 06 Aug, 2004 1 commit
  7. 05 Aug, 2004 1 commit
  8. 30 Jul, 2004 2 commits
  9. 28 Jul, 2004 2 commits
  10. 21 Jul, 2004 4 commits
  11. 19 Jul, 2004 3 commits
  12. 15 Jul, 2004 2 commits
  13. 12 Jul, 2004 1 commit
  14. 09 Jul, 2004 1 commit
  15. 29 Jun, 2004 1 commit
    • panne's avatar
      [project @ 2004-06-29 17:14:01 by panne] · b1d4bb55
      panne authored
      Workaround for hbc: It compiles matching against 0-ary constructors in
      list comprehensions into wrong code, e.g.
      
         [ () | True <- [False] ]
      
      results in something like
      
         Error: No match in I4680Pinteractive
      
      when issued in hbi.
      b1d4bb55
  16. 28 Jun, 2004 1 commit
  17. 27 Jun, 2004 1 commit
  18. 24 Jun, 2004 4 commits
  19. 23 Jun, 2004 2 commits
    • ross's avatar
      [project @ 2004-06-23 22:43:20 by ross] · 8000acbf
      ross authored
      arrow notation fixes (problems reported bu John Hughes):
      
      * allow an infixexp (exp0) to the left of -<.  This adds 4 more
        shift/reduce conflicts, because it makes if/lambda/let/case/proc
        before -< ambiguous.  This is the same sort of thing as
        "if x then y else z + 1", and as there shifting does the right thing.
      
      * described the grammar more precisely
      
      * fixed an example
      
      merge to STABLE
      8000acbf
    • ross's avatar
      [project @ 2004-06-23 10:31:02 by ross] · eb4e9631
      ross authored
      rearrange documentation of SPECIALIZE.
      eb4e9631