1. 02 Mar, 2007 1 commit
    • Simon Marlow's avatar
      Use timer_create() for the interval timer, if available · e30aca19
      Simon Marlow authored
      This lets the threaded RTS use SIGVTALRM rather than SIGALRM for its
      interval timer signal, so the threaded and non-threaded RTS are
      compatible.  It unfortunately doesn't completely fix #850/#1156, for
      that we really have to use a restartable sleep instead of usleep().
      Also I cleaned up the timer API a little: instead of returning an
      error value that ultimately gets ignored, we now report errors from
      system calls and exit.
  2. 01 Mar, 2007 7 commits
  3. 28 Feb, 2007 5 commits
  4. 27 Feb, 2007 4 commits
    • simonpj@microsoft.com's avatar
      Make let-matching work in Rules again · 5b51ce96
      simonpj@microsoft.com authored
      A RULE is supposed to match even if there is an intervening let:
      	RULE f (x:xs) = ....
      	target	   f (let x = thing in x:xs)
      It's surprisingly tricky to get this right; in effect we are doing
      let-floating on the fly. I managed to get it wrong before, or at least
      be over-conservative.  And in "fixing" that I got it wrong again in a
      different way, which made it far too conservative. In particular, it
      failed to match	f (let x = y+y in let z=x+y in z:xs)
      because the binder x was cloned and looked "locally-bound". See the
      ever growing comments with the Let rule for details.
      That patch reverts to the previous story, which is still a bit too 
      conservative, but not so egregiously so.  Fixes Romans's problem.
    • Ian Lynagh's avatar
      Fixes for the mangler on IA64 · dc04a79e
      Ian Lynagh authored
      From heatsink, in trac #1150.
    • Simon Marlow's avatar
      Remove the itbls field of BCO, put itbls in with the literals · b067bdc3
      Simon Marlow authored
      This is a simplification & minor optimisation for GHCi
    • Simon Marlow's avatar
      fix data con patch for 64-bit architectures · f38310c9
      Simon Marlow authored
  5. 20 Feb, 2007 1 commit
    • bjpop@csse.unimelb.edu.au's avatar
      Constructor names in info tables · 7d6dffe5
      bjpop@csse.unimelb.edu.au authored
      This patch adds data constructor names into their info tables. 
      This is useful in the ghci debugger. It replaces the old scheme which
      was based on tracking data con names in the linker. 
  6. 27 Feb, 2007 1 commit
  7. 24 Feb, 2007 2 commits
  8. 23 Feb, 2007 4 commits
  9. 22 Feb, 2007 4 commits
  10. 11 Jan, 2007 1 commit
  11. 21 Feb, 2007 3 commits
  12. 19 Feb, 2007 1 commit
    • mnislaih's avatar
      Removed unnecessary code · 704422eb
      mnislaih authored
      The breakpointJump functions never show up in the code that the typechecker sees, as they are inserted by the desugarer later.
  13. 21 Feb, 2007 6 commits
    • simonpj@microsoft.com's avatar
      Allow GADT syntax for newtypes · cd2c71bb
      simonpj@microsoft.com authored
      Fixes Trac #1154.   Please merge.
      Tests are tc225, and tcfail176.
    • simonpj@microsoft.com's avatar
      Import trimming · 479f4cac
      simonpj@microsoft.com authored
    • simonpj@microsoft.com's avatar
      Deal more correctly with orphan instances · eb2bf7ad
      simonpj@microsoft.com authored
      Conal Eliott (Trac #1145) exposed a nasty flaw in the way in which
      orphan instances are computed, when there are functional dependencies
      in the class.  It took me some time to figure out what was going on,
      and led to more refactoring.
      * Elaborate comments about orphan-hood and versioning added to IfaceSyn
      * The is_orph field vanishes from InstEnv.Instance
      * Similarly ru_orph vanishes from CoreSyn.CoreRule
      * Orphan-hood is computed in MkIface.instanceToIfaceInst, and
      Elsewhere just tidying up.
    • simonpj@microsoft.com's avatar
      Remove dead code from FunDeps · ede4d6f3
      simonpj@microsoft.com authored
      I forgot to to this when refactoring some months ago!
    • simonpj@microsoft.com's avatar
      Fix a deriving bug, arising from recent refactoring · 66f73ee4
      simonpj@microsoft.com authored
      This one is a hangover from something I did a month or two ago, but
      didn't get quite right.  tcSimplifyDefault should not check for no-instances;
      instead the checkValidInstance in TcDeriv does so.
      Conal's DeepArrow needs this fix.  Test is drv015.
    • simonpj@microsoft.com's avatar
      Fix defaulting for overloaded strings · 041c35e5
      simonpj@microsoft.com authored
      This patch fixes the typechecking of the default declaration itself,
      when overloaded strings are involved.  It also documents the behaviour
      in the user manual.
      nofib/spectral/power should work again now!