[project @ 2001-11-28 14:47:54 by simonmar]
authorsimonmar <unknown>
Wed, 28 Nov 2001 14:47:54 +0000 (14:47 +0000)
committersimonmar <unknown>
Wed, 28 Nov 2001 14:47:54 +0000 (14:47 +0000)
commit4746806f20ee36532564c9ff691cdcb0da190fd2
tree545561449033577195896d7805c01d82b3c6aff0
parent4321b11328a3371fb18636d63211d2bf2b7e62fc
[project @ 2001-11-28 14:47:54 by simonmar]
Cross fingers and remove code that zeroes the nursery when doing LDV
profiling.  This was required for two reasons:

  - the compiler might leave slop between objects when it is
    allocating.  However, it doesn't do this any more: we always
    move the heap pointer back at the end of a basic block if it
    turns out we didn't need all the heap,

  - After a heap check failure, we don't know what the previous
    value of Hp was, so we don't know where the end of the real
    data in the current nursery block is.

    This isn't the case any more, because as a side effect of the
    fixes to support big-block allocation we always shift Hp back
    by the required amount after a heap check failure, so now
    bd->free always points to the byte after the last allocated
    byte in a nursery block.
ghc/rts/Storage.c