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

ruby-changes:12926

From: nobu <ko1@a...>
Date: Wed, 26 Aug 2009 15:33:01 +0900 (JST)
Subject: [ruby-changes:12926] Ruby:r24664 (trunk): * method.c (rb_method_entry_t): body.proc should be marked.

nobu	2009-08-26 15:26:08 +0900 (Wed, 26 Aug 2009)

  New Revision: 24664

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

  Log:
    * method.c (rb_method_entry_t): body.proc should be marked.

  Modified files:
    trunk/gc.c
    trunk/method.h

Index: method.h
===================================================================
--- method.h	(revision 24663)
+++ method.h	(revision 24664)
@@ -59,7 +59,7 @@
 	rb_iseq_t *iseq;            /* should be mark */
 	rb_method_cfunc_t cfunc;
 	ID attr_id;
-	VALUE proc;
+	VALUE proc;                 /* should be mark */
 	enum method_optimized_type {
 	    OPTIMIZED_METHOD_TYPE_SEND,
 	    OPTIMIZED_METHOD_TYPE_CALL
Index: gc.c
===================================================================
--- gc.c	(revision 24663)
+++ gc.c	(revision 24664)
@@ -1405,7 +1405,8 @@
 }
 
 static void
-mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev) {
+mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev)
+{
     struct mark_tbl_arg arg;
     if (!tbl) return;
     arg.objspace = objspace;

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

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