diff --git a/makefile b/makefile index dea1acd..3b1fc37 100644 --- a/makefile +++ b/makefile @@ -262,7 +262,7 @@ test:nasal @ ./nasal -t test/mandelbrot.nas @ ./nasal -t test/md5_self.nas @ ./nasal -t -d test/md5compare.nas -# @ ./nasal -d test/module_test.nas + @ ./nasal -d test/module_test.nas @ ./nasal -e test/nasal_test.nas @ ./nasal -t -d test/occupation.nas 2 @ ./nasal -t -d test/pi.nas diff --git a/module/fib.cpp b/module/fib.cpp index dcc77ee..8d1d69e 100644 --- a/module/fib.cpp +++ b/module/fib.cpp @@ -69,7 +69,7 @@ var create_new_ghost(var* args, usize size, gc* ngc) { var res = ngc->alloc(vm_type::vm_ghost); res.ghost().set( ghost_for_test, - ghost_for_test_destructor, + nullptr, ghost_for_test_gc_marker, new ghost_obj );