]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/allot.hpp
VM: no need for a nursery_space class, it's just a bump_allocator
[factor.git] / vm / allot.hpp
index 07129585ec75d33e5e145d218a50e9242e833650..8b965d91f5c1c2abbe2b67b61b20e2171ca6c3fc 100644 (file)
@@ -8,7 +8,7 @@ namespace factor {
 inline object* factor_vm::allot_object(cell type, cell size) {
   FACTOR_ASSERT(!current_gc);
 
-  nursery_space *nursery = data->nursery;
+  bump_allocator *nursery = data->nursery;
   /* If the object is smaller than the nursery, allocate it in the nursery,
      after a GC if needed */
   if (nursery->size > size) {