summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index c33f16a0bd..4e0ea418ce 100644
--- a/vm.c
+++ b/vm.c
@@ -1790,8 +1790,6 @@ rb_vm_add_root_module(ID id, VALUE module)
return TRUE;
}
-#define vm_free 0
-
int
ruby_vm_destruct(rb_vm_t *vm)
{
@@ -1844,7 +1842,7 @@ vm_memsize(const void *ptr)
static const rb_data_type_t vm_data_type = {
"VM",
- {rb_vm_mark, vm_free, vm_memsize,},
+ {NULL, NULL, vm_memsize,},
NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
};