From 1521f7cf89fe3cf356a589c45bce4ccb57dce7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Fri, 20 Sep 2019 17:16:44 +0900 Subject: refactor delete vm_cref_dump No longer used. --- vm.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index e104688d71..2483180061 100644 --- a/vm.c +++ b/vm.c @@ -298,17 +298,6 @@ rb_vm_cref_new_toplevel(void) return vm_cref_new_toplevel(GET_EC()); } -static void -vm_cref_dump(const char *mesg, const rb_cref_t *cref) -{ - fprintf(stderr, "vm_cref_dump: %s (%p)\n", mesg, (void *)cref); - - while (cref) { - fprintf(stderr, "= cref| klass: %s\n", RSTRING_PTR(rb_class_path(CREF_CLASS(cref)))); - cref = CREF_NEXT(cref); - } -} - void rb_vm_block_ep_update(VALUE obj, const struct rb_block *dst, const VALUE *ep) { -- cgit v1.2.3