[project @ 1999-02-26 17:46:04 by simonm]
authorsimonm <unknown>
Fri, 26 Feb 1999 17:46:09 +0000 (17:46 +0000)
committersimonm <unknown>
Fri, 26 Feb 1999 17:46:09 +0000 (17:46 +0000)
commit10b81c59c3dc8e66f1a61e58edcac5b12fd39922
tree5acea4199c669406118f6dccced5ae83d9190c3d
parent250cd3d0c38ec23d42c38bbcaf4e9e64d5b42089
[project @ 1999-02-26 17:46:04 by simonm]
Fix a bug in weak pointer support: if finalize is called on a weak
pointer, then a DEAD_WEAK object could appear on the weak pointer
list.

To avoid needing to double-link this list, add a link field to
DEAD_WEAK objects, and remove them from the list at garbage collection
time.
ghc/includes/Closures.h
ghc/rts/GC.c
ghc/rts/PrimOps.hc