Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (16 sloc) 0.424 kb
namespace factor
{
struct nursery_policy {
factor_vm *parent;
explicit nursery_policy(factor_vm *parent_) : parent(parent_) {}
bool should_copy_p(object *obj)
{
return parent->nursery.contains_p(obj);
}
void promoted_object(object *obj) {}
void visited_object(object *obj) {}
};
struct nursery_collector : copying_collector<aging_space,nursery_policy> {
explicit nursery_collector(factor_vm *parent_);
};
}
Jump to Line
Something went wrong with that request. Please try again.