pruneSparkQueue: check for tagged pointers
authorSimon Marlow <marlowsd@gmail.com>
Mon, 14 Feb 2011 12:38:58 +0000 (12:38 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 14 Feb 2011 12:38:58 +0000 (12:38 +0000)
commit9ef55740aeffbc39b0cb65007d278cb3fd4be8f7
treef8f6f593d0cd5f988200848dc13602eb182cee09
parenta96f61282b0c5981be5c5c2d442b9b16195fb746
pruneSparkQueue: check for tagged pointers
This was a bug in 6.12.3.  I think the problem no longer occurs due to
the way sparks are treated as weak pointers, but it doesn't hurt to
test for tagged pointers anyway: better to do the test than have a
subtle invariant.
rts/Sparks.c