[ruby-cvs:51312] nobu:r44167 (trunk): vm.c: reduce clearing method cache

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 13 12:23:43 JST 2013


nobu	2013-12-13 12:23:42 +0900 (Fri, 13 Dec 2013)

  New Revision: 44167

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

  Log:
    vm.c: reduce clearing method cache
    
    * vm_method.c (rb_add_method, rb_alias): rb_method_entry_set()
      already clears method cache.
    
    * vm_method.c (rb_export_method): ditto by rb_add_method().
    
    * vm_method.c (set_method_visibility): ditto by rb_export_method().
    
    * vm.c (vm_define_method): ditto by rb_add_method().
    
    * vm.c (m_core_undef_method): ditto by rb_add_method() in rb_undef().

  Modified files:
    trunk/vm.c
    trunk/vm_method.c


More information about the ruby-cvs mailing list