Commit d2ebcf24 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-04-10 21:44:10 by simonmar]

Fix for Storage.c assertion failure
parent 6a35ffaf
......@@ -376,6 +376,7 @@ resetNurseries( void )
for (cap = free_capabilities; cap != NULL; cap = cap->link)
#else
cap = &MainCapability;
ASSERT(cap->r.rNursery == g0s0->blocks);
#endif
{
for (bd = cap->r.rNursery; bd; bd = bd->link) {
......@@ -465,6 +466,8 @@ resizeNursery ( nat blocks )
g0s0->n_blocks = blocks;
ASSERT(countBlocks(g0s0->blocks) == g0s0->n_blocks);
MainCapability.r.rNursery = g0s0->blocks;
}
/* -----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment