diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-07 05:39:02 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-07 05:39:02 +0000 |
commit | 8283dee63c2c0d6bb07db71f9660699959f7c837 (patch) | |
tree | f4695e1f6d943a4a6cd4541c57b25da843580a97 /vm_eval.c | |
parent | c466a17b7bc93a35533989b605274e665fcfb842 (diff) | |
download | ruby-8283dee63c2c0d6bb07db71f9660699959f7c837.tar.gz |
* vm_eval.c (rescue_funcall_args): th->ec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -297,10 +297,10 @@ rb_call0(rb_execution_context_t *ec, } struct rescue_funcall_args { - rb_thread_t *th; VALUE defined_class; VALUE recv; ID mid; + rb_execution_context_t *ec; const rb_method_entry_t *me; unsigned int respond: 1; unsigned int respond_to_missing: 1; @@ -311,7 +311,7 @@ struct rescue_funcall_args { static VALUE check_funcall_exec(struct rescue_funcall_args *args) { - return call_method_entry(args->th->ec, args->defined_class, + return call_method_entry(args->ec, args->defined_class, args->recv, idMethodMissing, args->me, args->argc, args->argv); } @@ -372,7 +372,7 @@ check_funcall_missing(rb_execution_context_t *ec, VALUE klass, VALUE recv, ID mi new_args[0] = ID2SYM(mid); MEMCPY(new_args+1, argv, VALUE, argc); ec->method_missing_reason = MISSING_NOENTRY; - args.th = rb_ec_thread_ptr(ec); + args.ec = ec; args.recv = recv; args.me = me; args.mid = mid; |