Keep update frames live even in functions that never return
authordias@eecs.harvard.edu <unknown>
Tue, 14 Oct 2008 16:54:37 +0000 (16:54 +0000)
committerdias@eecs.harvard.edu <unknown>
Tue, 14 Oct 2008 16:54:37 +0000 (16:54 +0000)
commit41f7ea2f3c5bc25a4a910583a9b455e88e983519
tree6229d5e7215128676cc31a60acd44e4d1dd2cef0
parente13a12b7b217ecea358f4dd853d27ffa44d161c8
Keep update frames live even in functions that never return
An unusual case, but without it:
(a) we had an assertion failure
(b) we can overwrite the caller's infotable, which might cause
    the garbage collector to collect live data.
Better to keep the update frame live at all call sites,
not just at returns.
compiler/cmm/CmmStackLayout.hs
compiler/cmm/ZipCfgCmmRep.hs