From 061b5041695899b63ea0c9481f314a0e2cc188c1 Mon Sep 17 00:00:00 2001 From: ngoto Date: Wed, 28 Oct 2015 14:54:53 +0000 Subject: * 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 --- ChangeLog | 4 ++++ probes_helper.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 05b58fc527..87675e401f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 28 23:52:48 2015 Naohisa Goto + + * probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic. + Wed Oct 28 15:36:11 2015 Nobuyoshi Nakada * error.c (rb_name_err_new): store the receiver directly. diff --git a/probes_helper.h b/probes_helper.h index f01cbc374a..53eaf57d73 100644 --- a/probes_helper.h +++ b/probes_helper.h @@ -45,10 +45,12 @@ do { \ filename, \ rb_sourceline()); \ } \ + RB_GC_GUARD(_name); \ break; \ } \ } \ } \ + RB_GC_GUARD(_klass); \ } \ } while (0) -- cgit v1.2.3