diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 01:46:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 01:46:43 +0000 |
commit | 72f88ebcc16c29f8848174034b4b89ebd0ecb31e (patch) | |
tree | 7059aeae2b1272a83a8c71a43bf165566820dffa /spec/ruby/core | |
parent | f644d3ef6789672fcae8b3da2e91655ad2cd736a (diff) | |
download | ruby-72f88ebcc16c29f8848174034b4b89ebd0ecb31e.tar.gz |
compile.c: optimize local variable assignments
* compile.c (iseq_peephole_optimize): eliminate simple self
assignments of a local variable when the result is used.
follow-up of r60322.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions