summaryrefslogtreecommitdiff
path: root/compiler/parser/hschooks.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 23:29:06 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 23:29:06 +0000
commit77798610bc585a1eea3b6695c4a3fee1ccba70ba (patch)
tree5da6464cf5240e644647e8f6065762177e4fcd35 /compiler/parser/hschooks.c
parent49780c2e25cfbe821d585c5a31cb95aa49f41f14 (diff)
downloadhaskell-77798610bc585a1eea3b6695c4a3fee1ccba70ba.tar.gz
Use the BF_EVACUATED flag to indicate to-space consistently
BF_EVACUATED is now set on all blocks except those that we are copying. This means we don't need a separate test for gen>N in evacuate(), because in generations older than N, BF_EVACUATED will be set anyway. The disadvantage is that we have to reset the BF_EVACUATED flag on the blocks of any generation we're collecting before starting GC. Results in a small speed improvement.
Diffstat (limited to 'compiler/parser/hschooks.c')
0 files changed, 0 insertions, 0 deletions