diff options
-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); } } |