[ruby-cvs:60081] normal:r52928 (trunk): insns.def (opt_case_dispatch): check Float#=== redefinition

normal at ruby-lang.org normal at ruby-lang.org
Tue Dec 8 08:56:59 JST 2015


normal	2015-12-08 08:56:57 +0900 (Tue, 08 Dec 2015)

  New Revision: 52928

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52928

  Log:
    insns.def (opt_case_dispatch): check Float#=== redefinition
    
    The missing check for Float#=== redefinition was noticed while
    working on enhancing optimized case dispatch for nil/true/false
    in [ruby-core:71818] https://bugs.ruby-lang.org/issues/11769
    
    So no, I don't normally redefine core classes like this :P
    
    * insns.def (opt_case_dispatch): check Float#=== redefinition
    * test/ruby/test_optimization.rb (test_opt_case_dispatch): new
      [ruby-core:71920] [Bug #11784]

  Modified files:
    trunk/ChangeLog
    trunk/insns.def
    trunk/test/ruby/test_optimization.rb


More information about the ruby-cvs mailing list