[ruby-cvs:50194] sorah:r43052 (trunk): * insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden

sorah at ruby-lang.org sorah at ruby-lang.org
Thu Sep 26 16:58:29 JST 2013


sorah	2013-09-26 16:58:28 +0900 (Thu, 26 Sep 2013)

  New Revision: 43052

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

  Log:
    * insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden
      before calling rb_reg_match().
    
    * test/ruby/test_string.rb: Test for above.
    
    * vm.c (vm_init_redefined_flag): Add BOP flag for String#=~
    
    [ruby-core:57385] [Bug #8953]

  Modified files:
    trunk/ChangeLog
    trunk/insns.def
    trunk/test/ruby/test_string.rb
    trunk/vm.c


More information about the ruby-cvs mailing list