[project @ 2000-11-07 18:00:26 by simonmar] URK!  when scanning the heap we might find a DEAD_WEAK that either (a) is the size of a WEAK, because we just overwrote its info table, or (b) is the size of a DEAD_WEAK, because its been around at least one GC.  The code herein only accounted for case (a).
[project @ 2000-11-07 18:00:26 by simonmar]
URK!  when scanning the heap we might find a DEAD_WEAK that either (a)
is the size of a WEAK, because we just overwrote its info table, or
(b) is the size of a DEAD_WEAK, because its been around at least one
GC.  The code herein only accounted for case (a).

Fix: check the word at location p+sizeof(DEAD_WEAK), see whether it
looks like an info table ptr, and if so we're in case (b).  This is
guaranteed to work, because we know that in case (a) the appropriate
word will be a closure pointer.

wxwxwwxxx/ghc,bitemyapp/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,shlevy/ghc,oldmanmike/ghc,da-x/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,sdiehl/ghc,sgillespie/ghc,tjakway/ghcjvm,bitemyapp/ghc,oldmanmike/ghc,spacekitteh/smcghc,nushio3/ghc,lukexi/ghc,AlexanderPankiv/ghc,green-haskell/ghc,vikraman/ghc,ghc-android/ghc,snoyberg/ghc,da-x/ghc,elieux/ghc,bitemyapp/ghc,spacekitteh/smcghc,vikraman/ghc,nushio3/ghc,ekmett/ghc,mcschroeder/ghc,hferreiro/replay,mcmaniac/ghc,oldmanmike/ghc,acowley/ghc,snoyberg/ghc,wxwxwwxxx/ghc,olsner/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,christiaanb/ghc,ilyasergey/GHC-XAppFix,jstolarek/ghc,mcmaniac/ghc,GaloisInc/halvm-ghc,nomeata/ghc,urbanslug/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,da-x/ghc,ryantm/ghc,ekmett/ghc,tjakway/ghcjvm,mfine/ghc,hferreiro/replay,sgillespie/ghc,mfine/ghc,ezyang/ghc,jstolarek/ghc,shlevy/ghc,ml9951/ghc,oldmanmike/ghc,olsner/ghc,ezyang/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,sdiehl/ghc,gridaphobe/ghc,gridaphobe/ghc,TomMD/ghc,fmthoma/ghc,sgillespie/ghc,shlevy/ghc,anton-dessiatov/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,forked-upstream-packages-for-ghcjs/ghc,nomeata/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,nomeata/ghc,nkaretnikov/ghc,AlexanderPankiv/ghc,ilyasergey/GHC-XAppFix,christiaanb/ghc,anton-dessiatov/ghc,tjakway/ghcjvm,lukexi/ghc-7.8-arm64,siddhanathan/ghc,frantisekfarka/ghc-dsi,spacekitteh/smcghc,mfine/ghc,nomeata/ghc,snoyberg/ghc,vTurbine/ghc,bitemyapp/ghc,da-x/ghc,mettekou/ghc,ghc-android/ghc,nushio3/ghc,gcampax/ghc,gcampax/ghc,mettekou/ghc,lukexi/ghc,gcampax/ghc,oldmanmike/ghc,ml9951/ghc,nathyong/microghc-ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,jstolarek/ghc,vTurbine/ghc,ezyang/ghc,vTurbine/ghc,frantisekfarka/ghc-dsi,ekmett/ghc,mettekou/ghc,sgillespie/ghc,olsner/ghc,urbanslug/ghc,ekmett/ghc,hferreiro/replay,mfine/ghc,nathyong/microghc-ghc,shlevy/ghc,christiaanb/ghc,ghc-android/ghc,fmthoma/ghc,frantisekfarka/ghc-dsi,sdiehl/ghc,ryantm/ghc,gcampax/ghc,frantisekfarka/ghc-dsi,mettekou/ghc,mcschroeder/ghc,fmthoma/ghc,spacekitteh/smcghc,siddhanathan/ghc,nkaretnikov/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,olsner/ghc,anton-dessiatov/ghc,ml9951/ghc,oldmanmike/ghc,mcschroeder/ghc,sgillespie/ghc,green-haskell/ghc,ghc-android/ghc,mcmaniac/ghc,snoyberg/ghc,gridaphobe/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,elieux/ghc,da-x/ghc,tibbe/ghc,nushio3/ghc,da-x/ghc,TomMD/ghc,nkaretnikov/ghc,holzensp/ghc,mcschroeder/ghc,ilyasergey/GHC-XAppFix,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,fmthoma/ghc,TomMD/ghc,sdiehl/ghc,oldmanmike/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,ghc-android/ghc,shlevy/ghc,elieux/ghc,ml9951/ghc,lukexi/ghc,nathyong/microghc-ghc,green-haskell/ghc,sgillespie/ghc,jstolarek/ghc,ezyang/ghc,ilyasergey/GHC-XAppFix,lukexi/ghc,nushio3/ghc,tjakway/ghcjvm,snoyberg/ghc,christiaanb/ghc,holzensp/ghc,elieux/ghc,urbanslug/ghc,gridaphobe/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,mcmaniac/ghc,christiaanb/ghc,urbanslug/ghc,nkaretnikov/ghc,vikraman/ghc,tibbe/ghc,acowley/ghc,ml9951/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,tibbe/ghc,vTurbine/ghc,olsner/ghc,wxwxwwxxx/ghc,mfine/ghc,fmthoma/ghc,tibbe/ghc,vikraman/ghc,ghc-android/ghc,ryantm/ghc,mettekou/ghc,green-haskell/ghc,acowley/ghc,vTurbine/ghc,anton-dessiatov/ghc,christiaanb/ghc,hferreiro/replay,TomMD/ghc,jstolarek/ghc,gridaphobe/ghc,mfine/ghc,nomeata/ghc,elieux/ghc,AlexanderPankiv/ghc,olsner/ghc,hferreiro/replay,mettekou/ghc,lukexi/ghc,vikraman/ghc,hferreiro/replay,ml9951/ghc,ezyang/ghc,tjakway/ghcjvm,urbanslug/ghc,nkaretnikov/ghc,frantisekfarka/ghc-dsi,nushio3/ghc,olsner/ghc,snoyberg/ghc,ezyang/ghc,anton-dessiatov/ghc,vikraman/ghc,mettekou/ghc,siddhanathan/ghc,siddhanathan/ghc,ekmett/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,nkaretnikov/ghc,urbanslug/ghc,fmthoma/ghc,fmthoma/ghc,shlevy/ghc,vTurbine/ghc,siddhanathan/ghc,lukexi/ghc-7.8-arm64,da-x/ghc,green-haskell/ghc,siddhanathan/ghc,mcschroeder/ghc,nathyong/microghc-ghc,siddhanathan/ghc,ryantm/ghc,mcmaniac/ghc,holzensp/ghc,TomMD/ghc,bitemyapp/ghc,mcschroeder/ghc,ezyang/ghc,hferreiro/replay,ml9951/ghc,holzensp/ghc,vikraman/ghc,gcampax/ghc,snoyberg/ghc,ghc-android/ghc,mcschroeder/ghc,wxwxwwxxx/ghc,elieux/ghc,vTurbine/ghc,anton-dessiatov/ghc,urbanslug/ghc,acowley/ghc,mfine/ghc,nushio3/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,TomMD/ghc,gridaphobe/ghc,holzensp/ghc,AlexanderPankiv/ghc,gcampax/ghc,tibbe/ghc,elieux/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,shlevy/ghc,sdiehl/ghc,acowley/ghc