[project @ 2002-04-19 10:15:22 by simonmar]
authorsimonmar <unknown>
Fri, 19 Apr 2002 10:15:22 +0000 (10:15 +0000)
committersimonmar <unknown>
Fri, 19 Apr 2002 10:15:22 +0000 (10:15 +0000)
commitf43a705a473a77e03a8caee78d2320d86e3641f0
treebf887b595cfaa99b2faf3f66929f860890531334
parentcb06faa1163bc87b665d4924ba05e7c0886f31dc
[project @ 2002-04-19 10:15:22 by simonmar]
A WEAK pointer gets turned into a DEAD_WEAK by the finalizeWeak#
primop.  It's important that we keep all the fields of the original
WEAK pointer when this happens, so as not to break the linked list of
weak pointers.  Hence, we give the payload size of DEAD_WEAK as 4
non-pointers instead of just 1.
ghc/rts/StgMiscClosures.hc