diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-26 06:28:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-26 06:28:38 +0000 |
commit | a4cd6190bbb1ee3225b9c064c68df1b61159931c (patch) | |
tree | c8ed7044ef9bd9c89e0c88529c04c74be5858cde /string.c | |
parent | e8fb3cda6f236fd9e5ad7084dc275e609ca7b2cc (diff) | |
download | ruby-a4cd6190bbb1ee3225b9c064c68df1b61159931c.tar.gz |
Symbol support for opt_eql_func too
* vm_insnhelper.c (comparable_by_identity): extract the condition
where comparable by identity. currently both are same types,
Fixnum, Flonum, or Symbol.
* vm_insnhelper.c (opt_eql_func): support Symbol too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions