1. 12 Jun, 2012 10 commits
  2. 11 Jun, 2012 17 commits
  3. 08 Jun, 2012 11 commits
  4. 07 Jun, 2012 2 commits
    • Ian Lynagh's avatar
    • Simon Marlow's avatar
      Fix for earger blackholing of thunks with no free variables (#6146) · 21a53a1c
      Simon Marlow authored
      A thunk with no free variables was not getting blackholed when
      -feager-blackholing was on, but we were nevertheless pushing the
      stg_bh_upd_frame version of the update frame that expects to see a
      black hole.
      I fixed this twice for good measure:
       - we now call blackHoleOnEntry when pushing the update frame to check
         whether the closure was actually blackholed, and so that we use the
         same predicate in both places
       - we now black hole thunks even if they have no free variables.
         These only occur when optimisation is off, but presumably if you say
         -feager-blackholing then that's what you want to happen.