summaryrefslogtreecommitdiff
path: root/rts/LdvProfile.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-12 12:44:13 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-12 12:44:13 +0000
commitc1540c3def6281ea67b5a4ce7499b1aa982faa25 (patch)
tree0c1faa326af3cf88b05b196f9488f0d470518478 /rts/LdvProfile.c
parent05b677fad57427a5639b36a1822c9ebd52cb3339 (diff)
downloadhaskell-c1540c3def6281ea67b5a4ce7499b1aa982faa25.tar.gz
Add allocateInGen() for allocating in a specific generation, and cleanups
Now allocate() is a synonym for allocateInGen(). I also made various cleanups: there is now less special-case code for supporting -G1 (two-space collection), and -G1 now works with -threaded.
Diffstat (limited to 'rts/LdvProfile.c')
-rw-r--r--rts/LdvProfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c
index ecbba8b6ab..18386490b9 100644
--- a/rts/LdvProfile.c
+++ b/rts/LdvProfile.c
@@ -247,7 +247,7 @@ processSmallObjectPoolForDead( void )
bdescr *bd;
StgPtr p;
- bd = small_alloc_list;
+ bd = g0s0->blocks;
// first block
if (bd == NULL)