[project @ 2001-12-12 14:25:03 by simonmar]
authorsimonmar <unknown>
Wed, 12 Dec 2001 14:25:03 +0000 (14:25 +0000)
committersimonmar <unknown>
Wed, 12 Dec 2001 14:25:03 +0000 (14:25 +0000)
commit6370689592bcefda7ed023bc721d9c977627997e
treea3bf1ec0151cc25e259a030e51804f0dbe30de47
parent9021d33f1c95c4deb7aba092fa5f551e3e8f4c81
[project @ 2001-12-12 14:25:03 by simonmar]
- Relax the restriction that roots must also be retainers, by changing
  the type of the 'r' argument to retainClosure from (StgClosure *) to
  retainer.  Now retainRoot can pass CCS_SYSTEM as the retainer for a
  root if the closure is itself not a retainer.

- Traverse roots from the stable ptr table, which might not also be
  retainers (hence the generalisation above).
ghc/rts/RetainerProfile.c