vm: fix crash if all-instances primitive triggers a GC
parent
f0401acc97
commit
c512013220
|
@ -245,7 +245,7 @@ cell factor_vm::instances(cell type)
|
|||
each_object(accum);
|
||||
cell object_count = accum.objects.size();
|
||||
|
||||
data_roots.push_back(accum.objects[0]);
|
||||
data_roots.push_back((cell)&accum.objects[0]);
|
||||
data_roots.push_back(object_count);
|
||||
|
||||
array *objects = allot_array(object_count,false_object);
|
||||
|
|
Loading…
Reference in New Issue