diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 20:30:37 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 20:30:37 +0000 |
commit | 568c0a2dff72459d65e58c0c828144cc5a19438c (patch) | |
tree | c0505a2b3643a61d3fa72c2151e4227a86d546ba /parse.y | |
parent | 975e3a19a7ef725f6358d74f5bf7fd20d4403587 (diff) | |
download | ruby-568c0a2dff72459d65e58c0c828144cc5a19438c.tar.gz |
remove vm_opt_binop_dispatch().
* vm_insnhelper.c (vm_opt_binop_dispatch): removed because this function
has several issues for micro-benchmark. Write conditions manually.
The worst point is that we can't control value checking order.
For example, we can assume FIXNUM arithmetic operations are most popular
in Ruby, so that we need to check FIXNUM at first.
* test/ruby/test_optimization.rb: also fix redef bug for LE/GT/GE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions