summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSpillReload.hs
diff options
context:
space:
mode:
authordias@eecs.harvard.edu <unknown>2008-10-14 11:26:18 +0000
committerdias@eecs.harvard.edu <unknown>2008-10-14 11:26:18 +0000
commit309f64a0fd319198308f6b76bd22f38001bb5df0 (patch)
tree2f8b245c1f9f6544e0df4fa646e9f01d4e5a2d51 /compiler/cmm/CmmSpillReload.hs
parent93d047a1096571b75d9911536aecaca547a6f947 (diff)
downloadhaskell-309f64a0fd319198308f6b76bd22f38001bb5df0.tar.gz
Don't adjust hp up when the case scrutinee won't allocate
If the case scrutinee can't allocate, we don't need to do a heap check in the case alternatives. (A previous patch got that right.) In that case, we had better not adjust the heap pointer to recover unused stack space before evaluating the scrutinee -- because we aren't going to reallocate for the case alternative.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions