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 /ext/json | |
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 'ext/json')
0 files changed, 0 insertions, 0 deletions