Fix -generations=1

db4
Slava Pestov 2008-04-09 17:04:09 -05:00
parent 74085b897e
commit 9373df5c4c
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ INLINE void* allot_object(CELL type, CELL a)
{
CELL *object;
if(nursery->size - ALLOT_BUFFER_ZONE > a)
if(HAVE_NURSERY_P && nursery->size - ALLOT_BUFFER_ZONE > a)
{
/* If there is insufficient room, collect the nursery */
if(nursery->here + ALLOT_BUFFER_ZONE + a > nursery->end)