summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-09 04:04:30 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-09 04:04:30 +0000
commitf23adf745943174cdd4ecd88789c69acec69ad77 (patch)
tree4d8e972a0335bd966ebc67822fa70b60982deeca
parentd53e1a7937b8c68ed5230fb3e7a1f9fb9524a898 (diff)
* 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--ChangeLog4
-rw-r--r--vm_insnhelper.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 03486ed..65d24dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 c9c6cea..c90944e 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);
}
}