diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-09 04:04:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-09 04:04:30 +0000 |
commit | e0c26feaaec4b2343d477a09086831a5cd855b90 (patch) | |
tree | 4d8e972a0335bd966ebc67822fa70b60982deeca | |
parent | 2a6a7b47cb419022f56f60cd12ffd861bf953c15 (diff) | |
download | ruby-e0c26feaaec4b2343d477a09086831a5cd855b90.tar.gz |
* vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm_insnhelper.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jul 9 13:03:46 2015 Koichi Sasada <ko1@atdot.net> + + * vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH(). + Thu Jul 9 11:07:06 2015 Koichi Sasada <ko1@atdot.net> * vm_core.h: remove rb_call_info_t::klass because diff --git a/vm_insnhelper.c b/vm_insnhelper.c index c9c6ceabbd..c90944e1dc 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2216,7 +2216,7 @@ vm_search_super_method(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_inf else { /* TODO: use inline cache */ ci->me = rb_callable_method_entry(klass, ci->mid); - ci->call = vm_call_super_method; + CI_SET_FASTPATH(ci, vm_call_super_method, 1); } } |