[ruby-cvs:68304] ko1:r61123 (trunk): remove vm_opt_binop_dispatch().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Dec 12 05:30:37 JST 2017

ko1	2017-12-12 05:30:37 +0900 (Tue, 12 Dec 2017)

  New Revision: 61123


    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.

  Modified files:

More information about the ruby-cvs mailing list