recordMutable: test for gen>0 before calling recordMutableCap
authorSimon Marlow <simonmar@microsoft.com>
Wed, 17 Oct 2007 12:56:57 +0000 (12:56 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 17 Oct 2007 12:56:57 +0000 (12:56 +0000)
commit3c58884ef36418f93dc1892125629df73e5d2a79
tree4ccdd763334e2d6b60f0be0a6c79f1549cf9dc03
parentc9aa9bb5a8a1c5d80b4ec4a186bea3a3f00142cc
recordMutable: test for gen>0 before calling recordMutableCap
For some reason the C-- version of recordMutable wasn't verifying that
the object was in an old generation before attempting to add it to the
mutable list, and this broke maessen_hashtab.  This version of
recordMutable is only used in unsafeThaw#.
includes/Cmm.h