diff options
author | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-09 13:40:14 +0000 |
---|---|---|
committer | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-09 13:40:14 +0000 |
commit | 96688ecbab2e18be02af7172bcb3732e57d9290e (patch) | |
tree | a4f5761850518bd0a89e98d4e0fb681906f8cff9 /ChangeLog | |
parent | e54c30c05eb16897bc1d44b3bec06083ef1ae779 (diff) | |
download | ruby-96688ecbab2e18be02af7172bcb3732e57d9290e.tar.gz |
* compile.c (case_when_optimizable_literal): When float value can be
treated as integer, add to table hash of case that way.
based on a patch from Ikuo KOBORI. [ruby-dev:42038]
* insnf.def (opt_case_dispatch): ditto.
* test/ruby/test_case.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Thu Sep 9 22:34:48 2010 wanabe <s.wanabe@gmail.com> + + * compile.c (case_when_optimizable_literal): When float value can be + treated as integer, add to table hash of case that way. + based on a patch from Ikuo KOBORI. [ruby-dev:42038] + + * insnf.def (opt_case_dispatch): ditto. + + * test/ruby/test_case.rb: add tests. + Thu Sep 9 17:15:15 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org> * test/net/http/test_https.rb (test_identity_verify_failure): follows |