diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-10 02:35:22 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-10 02:35:22 +0000 |
commit | 7c41f09342cfdd0ec19997679bd088fef700bccf (patch) | |
tree | e3d0a73f34f6376c57a5170dfbbe0b2e429096e3 /ChangeLog | |
parent | 01c432169f53bfc83a001baac91a890dfbf5af35 (diff) |
compile.c (iseq_compile_each): reduce needless rb_str_dup
There is no need to dup the fstring unless we want to set the
debug ivar for it.
[ruby-core:72018] <5668DB6E.8000101@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53021 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 Dec 10 11:33:34 2015 Eric Wong <e@80x24.org> + + * compile.c (iseq_compile_each): reduce needless rb_str_dup + [ruby-core:72018] <5668DB6E.8000101@ruby-lang.org> + Thu Dec 10 09:32:51 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/mkmf.rb, lib/shellwords.rb: disable frozen-string-literal. |