[project @ 2001-01-24 15:46:19 by simonmar]
authorsimonmar <unknown>
Wed, 24 Jan 2001 15:46:19 +0000 (15:46 +0000)
committersimonmar <unknown>
Wed, 24 Jan 2001 15:46:19 +0000 (15:46 +0000)
commit43b212f520c00ee42d2d711f26183cdb14096158
tree5a7503b28a20d4fed7994c9a36d58ac20c222dbb
parentf33938a37e973057d93d2fd625cc9e205e5cad03
[project @ 2001-01-24 15:46:19 by simonmar]
Add a CAF list for GHCI.

Retaining all looked-up symbols in a list in the interpreter was the
Wrong Thing To Do, since we can't guarantee that the transitive
closure of this list points to all the CAFs so far evaluated (the
transitive closure gets smaller as reachable CAFs are evaluated).

A Better Thing To Do is just to retain all the CAFs.  A refinement is
to only retain all CAFs in dynamically linked code, which is what this
patch implements.
ghc/rts/Schedule.c
ghc/rts/Storage.c
ghc/rts/Storage.h