1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2015-07-09 04:04:30 +00:00
parent d53e1a7937
commit f23adf7459
2 changed files with 5 additions and 1 deletions

View file

@ -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> Thu Jul 9 11:07:06 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: remove rb_call_info_t::klass because * vm_core.h: remove rb_call_info_t::klass because

View file

@ -2216,7 +2216,7 @@ vm_search_super_method(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_inf
else { else {
/* TODO: use inline cache */ /* TODO: use inline cache */
ci->me = rb_callable_method_entry(klass, ci->mid); ci->me = rb_callable_method_entry(klass, ci->mid);
ci->call = vm_call_super_method; CI_SET_FASTPATH(ci, vm_call_super_method, 1);
} }
} }