Project

General

Profile

« Previous | Next » 

Revision ba5ea548

Added by shugo (Shugo Maeda) almost 13 years ago

  • vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo):
    add a new field for inline method cache.

  • vm_insnhelper.c (vm_search_method): check rb_call_info_t::refinements
    not to confuse inline method cache when module_eval is used with
    refinements.

  • test/ruby/test_refinement.rb: related test.

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