StgCmmHeap: Re-add check for large static allocations
authorBen Gamari <ben@smart-cactus.org>
Thu, 27 Aug 2015 12:08:01 +0000 (14:08 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 29 Aug 2015 11:08:18 +0000 (13:08 +0200)
commitc1d7b4b43bbc4c7a590a8b942adc09e654d0659d
treedbdcc708acd3e1e0979c51f2d283256cef60f983
parentc7f0626699998fe16871fd442e4199b48cbefb35
StgCmmHeap: Re-add check for large static allocations

This should at least help alleviate the annoyance of #4505. This
reintroduces a compile-time check originally added in
a278f3f02d09bc32b0a75d4a04d710090cde250f but dropped with the new code
generator.
compiler/codeGen/StgCmmHeap.hs