diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-28 14:54:53 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-28 14:54:53 +0000 |
commit | 0b9d283fb37c5897cded5d2a478148f29d626b2a (patch) | |
tree | 4c5da74179e73041f1d2d0929c2f236aa3e2f31d /probes_helper.h | |
parent | a38678a6e4f7420706e443cd8aebc6b4d7e22c1f (diff) | |
download | ruby-0b9d283fb37c5897cded5d2a478148f29d626b2a.tar.gz |
* 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
Diffstat (limited to 'probes_helper.h')
-rw-r--r-- | probes_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |