diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-17 21:07:02 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-17 21:07:02 +0000 |
commit | 7b6e4571c992e41b7fe3a4afb72d9984a0561ea9 (patch) | |
tree | e52fe6f0b4f110a0015fa2923c42f9a491368ef5 /ChangeLog | |
parent | db739cd871a218e30e8b59a4333d1287a8acd588 (diff) | |
download | ruby-7b6e4571c992e41b7fe3a4afb72d9984a0561ea9.tar.gz |
compile.c: use %+PRIsVALUE instead of rb_inspect
* compile.c (get_exception_sym2type, iseq_build_from_ary_body):
rely on %+PRIsVALUE instead of calling rb_inspect directly
This yields a minor size reduction on 32-bit x86:
text data bss dec hex filename
96807 772 48 97627 17d5b compile.o
96851 772 48 97671 17d87 compile.orig
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50940 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 @@ +Thu Jun 18 06:02:42 2015 Eric Wong <e@80x24.org> + + * compile.c (get_exception_sym2type, iseq_build_from_ary_body): + rely on %+PRIsVALUE instead of calling rb_inspect directly + Wed Jun 17 20:59:25 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * common.mk (ENC_MK): needs fake.rb if cross compilation. |