projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7662a4c
)
[project @ 2005-10-25 15:27:22 by simonmar]
author
simonmar
<unknown>
Tue, 25 Oct 2005 15:27:22 +0000
(15:27 +0000)
committer
simonmar
<unknown>
Tue, 25 Oct 2005 15:27:22 +0000
(15:27 +0000)
Fix bug in allocateLocal, we weren't assigning bd->step properly
ghc/rts/Storage.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Storage.c
b/ghc/rts/Storage.c
index
7b46021
..
c7ff7c3
100644
(file)
--- a/
ghc/rts/Storage.c
+++ b/
ghc/rts/Storage.c
@@
-672,7
+672,7
@@
allocateLocal (Capability *cap, nat n)
cap->r.rNursery->n_blocks++;
RELEASE_SM_LOCK;
bd->gen_no = 0;
- bd->step = g0s0;
+ bd->step = cap->r.rNursery;
bd->flags = 0;
} else {
// we have a block in the nursery: take it and put