diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-20 04:27:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-20 04:27:55 +0000 |
commit | 51665dbfd6642b18130ea23a84f7dc2f98453b29 (patch) | |
tree | 66a3ac8ed046c5e26536faea46e04e3739b2bf06 /cont.c | |
parent | 2d637d4cb776fd851c06cc00657adbc367563276 (diff) | |
download | ruby-51665dbfd6642b18130ea23a84f7dc2f98453b29.tar.gz |
compile.c: optimization of defined? in condition
* compile.c (compile_branch_condition): trivial optimization of
defined? expression in a branch condition, where a string is not
needed, but just a boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
0 files changed, 0 insertions, 0 deletions