1. 28 Jul, 2011 4 commits
  2. 27 Jul, 2011 23 commits
  3. 26 Jul, 2011 2 commits
  4. 25 Jul, 2011 6 commits
  5. 24 Jul, 2011 1 commit
  6. 23 Jul, 2011 4 commits
    • Ian Lynagh's avatar
      Remove prototype to mut_user_time_during_GC · 5c6e293d
      Ian Lynagh authored
      The function no longer exists.
      5c6e293d
    • Ian Lynagh's avatar
      Fix heap profiling times · 4f8cfaf9
      Ian Lynagh authored
      Now that the heap census runs in the middle of garbage collections,
      the "CPU time" it was calculating included any CPU time used so far
      in the current GC. This could cause CPU time to appear to go down,
      which means hp2ps complained about "samples out of sequence".
      
      I'm not sure if this is the nicest way to solve this (maybe resurrecting
      mut_user_time_during_GC would be better?) but it gets things working again.
      4f8cfaf9
    • Ian Lynagh's avatar
      Add rules for Integer constant folding · 2b42de78
      Ian Lynagh authored
      2b42de78
    • Simon Peyton Jones's avatar
      A nice tidy-up for CvSubst and liftCoSubst · 525aca2c
      Simon Peyton Jones authored
      A "lifting substitition" takes a *type* to a *coercion*, using a
      substitution that takes a *type variable* to a *coercion*.  We were
      using a CvSubst for this purpose, which was an awkward exception: in
      every other use of CvSubst, type variables map only to types.
      
      Turned out that Coercion.liftCoSubst is quite a small function, so I
      rewrote it with a special substitution type Coercion.LiftCoSubst, just
      for that purpose.  In doing so I found that the function itself was
      bizarrely over-complicated ... a direct result of mis-using CvSubst.
      
      So this patch makes it all simpler, faster, and easier to understand.
      No bugs fixed though!
      525aca2c