mkLiveness: when calculating the size of a parameter, round up not down.
authorSimon Marlow <simonmar@microsoft.com>
Fri, 3 Aug 2007 09:32:29 +0000 (09:32 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 3 Aug 2007 09:32:29 +0000 (09:32 +0000)
commit7305dd722118cabc6feb3fca74bcac64236b1513
treecb3118dbc791862239aaa41a2256095193fcb503
parentbb6a7d1a735618d7f71e503c14d50d591277c083
mkLiveness: when calculating the size of a parameter, round up not down.
Fixes read002 on x86_64 (and maybe others).  The stg_ap_f_info info
table had the wrong liveness on it, because the float had been treated
as having zero size.
compiler/cmm/CmmInfo.hs