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

ruby-changes:40244

From: ngoto <ko1@a...>
Date: Wed, 28 Oct 2015 23:55:07 +0900 (JST)
Subject: [ruby-changes:40244] ngoto:r52325 (trunk): * probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic.

ngoto	2015-10-28 23:54:53 +0900 (Wed, 28 Oct 2015)

  New Revision: 52325

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

  Log:
    * probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic.

  Modified files:
    trunk/ChangeLog
    trunk/probes_helper.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52324)
+++ ChangeLog	(revision 52325)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Oct 28 23:52:48 2015  Naohisa Goto  <ngotogenome@g...>
+
+	* probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic.
+
 Wed Oct 28 15:36:11 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* error.c (rb_name_err_new): store the receiver directly.
Index: probes_helper.h
===================================================================
--- probes_helper.h	(revision 52324)
+++ probes_helper.h	(revision 52325)
@@ -45,10 +45,12 @@ do { \ https://github.com/ruby/ruby/blob/trunk/probes_helper.h#L45
 				filename, \
 				rb_sourceline()); \
 		    } \
+		    RB_GC_GUARD(_name); \
 		    break; \
 		} \
 	    } \
 	} \
+	RB_GC_GUARD(_klass); \
     } \
 } while (0)
 

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

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