Project

General

Profile

« Previous | Next » 

Revision 0948eb62

Added by nobu (Nobuyoshi Nakada) over 6 years ago

vm.c: respect redefinition of Proc#call

  • vm.c (vm_redefinition_check_method_type): hoist out method
    definition type to check redefinition.

  • vm.c (rb_vm_check_redefinition_opt_method): should check
    optimized method too.

  • vm.c (vm_init_redefined_flag): check Proc#call.

  • vm_insnhelper.c (vm_call_opt_block_call): search proper method
    if redefined. [Bug #14335]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e