Skip to content
  • Simon Marlow's avatar
    fix closure_sizeW_() for AP closures · dcecd7a5
    Simon Marlow authored
    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
    dcecd7a5