1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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> Wed Oct 28 15:36:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* error.c (rb_name_err_new): store the receiver directly. * error.c (rb_name_err_new): store the receiver directly.

View file

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