summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 05:22:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 05:22:24 +0000
commitac58719ab322b04a96067d46cd30068e0f0c1a2b (patch)
tree23d352f83659eb2b12f2ae98cd2a2e9bba2d0c15 /insns.def
parentb5101cbb23b9ddb24565c5c5512aea2b82af422a (diff)
vm_search_super_method() accepts `ec` instead of `th`.
* vm_insnhelper.c (vm_search_super_method): accepts `ec` instead of `th`. Surprisingly, it doesn't use `th` (now `ec`) so this patch is for the future extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 7f90e2ff60..df30e55d6e 100644
--- a/insns.def
+++ b/insns.def
@@ -949,7 +949,7 @@ invokesuper
vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, TRUE);
calling.recv = GET_SELF();
- vm_search_super_method(th, GET_CFP(), &calling, ci, cc);
+ vm_search_super_method(th->ec, GET_CFP(), &calling, ci, cc);
CALL_METHOD(&calling, ci, cc);
}