[前][次][番号順一覧][スレッド一覧]

ruby-changes:58035

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Mon, 30 Sep 2019 10:43:16 +0900 (JST)
Subject: [ruby-changes:58035] 1521f7cf89 (master): refactor delete vm_cref_dump

https://git.ruby-lang.org/ruby.git/commit/?id=1521f7cf89

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?=
 <shyouhei@r...>
Date: Fri, 20 Sep 2019 17:16:44 +0900
Subject: refactor delete vm_cref_dump

No longer used.

diff --git a/vm.c b/vm.c
index e104688..2483180 100644
--- a/vm.c
+++ b/vm.c
@@ -298,17 +298,6 @@ rb_vm_cref_new_toplevel(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L298
     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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]