patch applied (ghc): fix closure_sizeW_() for AP closures

Simon Marlow simonmar at microsoft.com
Wed Feb 14 09:48:26 EST 2007


Wed Feb 14 04:04:01 PST 2007  Simon Marlow <simonmar at microsoft.com>
  * fix closure_sizeW_() for AP closures
  Since thunks grew an extra padding word in GHC 6.6, closure_sizeW()
  has been wrong for AP closures because it assumed compatible layout
  between PAPs and APs.  One symptom is that the compacting GC would
  crash if it encountered an AP.  APs conly crop up in GHCi or
  when using asynchronous exceptions.
  
  Fixes #1010

    M ./includes/Storage.h +1



More information about the Cvs-ghc mailing list