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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ngoto 2015-10-28 14:54:53 +00:00
parent 9da6727884
commit 061b504169
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Oct 28 23:52:48 2015 Naohisa Goto <ngotogenome@gmail.com>
* probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic.
Wed Oct 28 15:36:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* error.c (rb_name_err_new): store the receiver directly.

View File

@ -45,10 +45,12 @@ do { \
filename, \
rb_sourceline()); \
} \
RB_GC_GUARD(_name); \
break; \
} \
} \
} \
RB_GC_GUARD(_klass); \
} \
} while (0)