diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-17 07:12:40 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-17 07:12:40 +0000 |
commit | 9a82db49eb5d464d6d0adc3c7c3ebf4574d5d025 (patch) | |
tree | ce8b90945b8a2ffad7160b180afa62b40f4f2e74 /gc.c | |
parent | 7254573c551f83a83cf3f2d6e97de8ebe72e16fa (diff) | |
download | ruby-9a82db49eb5d464d6d0adc3c7c3ebf4574d5d025.tar.gz |
* vm_insnhelper.c (vm_call_method_missing): make a refactoring
about method_missing process. Use `vm_call_method()' to invoke
`method_missing' method instead of `rb_funcall2()'.
In `vm_call_method()', set fastpath to `vm_call_method_missing()'
if it can be cached.
* vm_core.h (rb_call_info_t): add new field
`rb_call_info_t::aux::missing_reasion' to pass the reason to
`vm_call_method_missing()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions