vm: simplify logic

db4
Slava Pestov 2009-10-06 06:36:43 -05:00
parent 697e2342d0
commit 8fcd6a3789
1 changed files with 1 additions and 4 deletions

View File

@ -471,10 +471,7 @@ struct nursery_collector : copying_collector<nursery_collector>
bool should_copy_p(object *untagged)
{
if(newspace->contains_p(untagged))
return false;
else
return myvm->nursery.contains_p(untagged);
return myvm->nursery.contains_p(untagged);
}
void copy_reachable_objects(cell scan, cell *end)