diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 10:55:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 10:55:24 +0000 |
commit | 284d4c08d66d15b299c9b483a80131d73a617af4 (patch) | |
tree | 8fc08f2bc61f9b4ac4997e390c4cac1e3be86775 /vm_args.c | |
parent | 9adf6064ce7e5672cd7a91fd597e21917608a0c8 (diff) |
vm_pop_frame() accepts `ec` instead of `th`.
* vm_insnhelper.c (vm_pop_frame): accepts `ec` instead of `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_args.c')
-rw-r--r-- | vm_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -698,7 +698,7 @@ raise_argument_error(rb_thread_t *th, const rb_iseq_t *iseq, const VALUE exc) iseq->body->iseq_encoded, th->ec->cfp->sp, 0, 0 /* stack_max */); at = rb_threadptr_backtrace_object(th); - rb_vm_pop_frame(th); + rb_vm_pop_frame(th->ec); } else { at = rb_threadptr_backtrace_object(th); |