diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-20 17:16:44 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-30 10:26:38 +0900 |
commit | 1521f7cf89fe3cf356a589c45bce4ccb57dce7fd (patch) | |
tree | 7ea2ac2efbd46efb3e23a0f44ebb806699fa1a12 /vm.c | |
parent | c11c5e69ac66ae10255a20a6b84e481f0423703d (diff) |
refactor delete vm_cref_dump
No longer used.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2486
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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) { |