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

ruby-changes:31183

From: ko1 <ko1@a...>
Date: Sat, 12 Oct 2013 03:26:05 +0900 (JST)
Subject: [ruby-changes:31183] ko1:r43262 (trunk): * vm_method.c (rb_gc_mark_unlinked_live_method_entries):

ko1	2013-10-12 03:26:00 +0900 (Sat, 12 Oct 2013)

  New Revision: 43262

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43262

  Log:
    * vm_method.c (rb_gc_mark_unlinked_live_method_entries):
      revert last commit to introduce debug prints.

  Modified files:
    trunk/ChangeLog
    trunk/vm_method.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43261)
+++ ChangeLog	(revision 43262)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Oct 12 03:24:49 2013  Koichi Sasada  <ko1@a...>
+
+	* vm_method.c (rb_gc_mark_unlinked_live_method_entries): 
+	  revert last commit to introduce debug prints.
+
 Fri Oct 11 21:05:19 2013  Koichi Sasada  <ko1@a...>
 
 	* internal.h, parse.y: use `full_mark' instead of `full_marking'.
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 43261)
+++ vm_method.c	(revision 43262)
@@ -105,15 +105,13 @@ rb_gc_mark_unlinked_live_method_entries( https://github.com/ruby/ruby/blob/trunk/vm_method.c#L105
 {
     rb_vm_t *vm = pvm;
     struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list;
-    int i=0;
 
     while (ume) {
 	if (ume->me->mark) {
 	    rb_mark_method_entry(ume->me);
 	}
-	ume = ume->next; i++;
+	ume = ume->next;
     }
-    fprintf(stderr, "rb_gc_mark_unlinked_live_method_entries: %d entries\n", i);
 }
 
 void

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

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