1. 05 Mar, 2007 1 commit
  2. 03 Mar, 2007 1 commit
  3. 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.
      e30aca19
  4. 01 Mar, 2007 7 commits
  5. 28 Feb, 2007 5 commits
  6. 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.
      5b51ce96
    • Ian Lynagh's avatar
      Fixes for the mangler on IA64 · dc04a79e
      Ian Lynagh authored
      From heatsink, in trac #1150.
      dc04a79e
    • 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
      b067bdc3
    • Simon Marlow's avatar
      fix data con patch for 64-bit architectures · f38310c9
      Simon Marlow authored
      f38310c9
  7. 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. 
      7d6dffe5
  8. 27 Feb, 2007 1 commit
  9. 24 Feb, 2007 2 commits
  10. 23 Feb, 2007 4 commits
  11. 22 Feb, 2007 4 commits
  12. 11 Jan, 2007 1 commit
  13. 21 Feb, 2007 3 commits
  14. 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.
      704422eb
  15. 21 Feb, 2007 4 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.
      cd2c71bb
    • simonpj@microsoft.com's avatar
      Import trimming · 479f4cac
      simonpj@microsoft.com authored
      479f4cac
    • 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.
      
      Briefly:
      
      * 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
      	MkIface.coreRuleToIfaceRule
      
      Elsewhere just tidying up.
      eb2bf7ad
    • 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!
      ede4d6f3