diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-17 00:54:13 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-17 00:54:13 +0000 |
commit | fcf6fa8781fe236a9761ad5d75fa1b87f1afeea2 (patch) | |
tree | f0f172234f2556eee22e11e59b8e99f6068d6cc8 /doc | |
parent | 61a8e7ebf76a1564df17ea4de4fe4ce21dba28f8 (diff) | |
download | ruby-fcf6fa8781fe236a9761ad5d75fa1b87f1afeea2.tar.gz |
compile.c: skip opt_* insns for fstr args with block given
* compile.c (iseq_compile_each): only emit opt_str_freeze,
opt_aref_with, and opt_aset_with insn when no block is given
[Bug #10557] [ruby-core:66595]
* test/ruby/test_optimization.rb (test_block_given_aset_aref):
new test for bug thanks to Bartosz Kopinski.
(test_string_freeze): additional assertion for object_id
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions