• Simon Marlow's avatar
    Improve the case-alternative heap checks · 65256948
    Simon Marlow authored
    The code we were generating for heap-checks in algebraic case
    alternatives wasn't working well with the common-block eliminator.  A
    small tweak to make the heap-check failure jump back to the same place
    in all branches lets the common-block eliminator squash more code.
    65256948
StgCmmHeap.hs 21.8 KB