diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-11 06:33:58 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-11 06:33:58 +0000 |
commit | 3fedb5128f33390959cfcd97a624b33b0f22f372 (patch) | |
tree | 7596b598c4219744135eda588931b93f4bc2d339 /ChangeLog | |
parent | 58a73d96b44de66c7a665e08374391adcad5239c (diff) | |
download | ruby-3fedb5128f33390959cfcd97a624b33b0f22f372.tar.gz |
compile.c: fix RB_GC_GUARD usage
* compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD
(iseq_build_from_ary_body): use PRIsVALUE instead of RB_GC_GUARD
Currently unused functions, but we should set good examples for
using RB_GC_GUARD (and favoring PRIsVALUE in format strings).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Oct 11 15:32:08 2014 Eric Wong <e@80x24.org> + + * compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD + (iseq_build_from_ary_body): use PRIsVALUE instead of RB_GC_GUARD + Sat Oct 11 14:57:08 2014 Eric Wong <e@80x24.org> * string.c (rb_str_intern): remove unnecessary RB_GC_GUARD |