diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-26 10:28:21 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-26 10:28:21 +0000 |
commit | aee3f4cdc74b1ffdf14488eb0c6f685edf465efe (patch) | |
tree | ae1387d18aa71ee6359c1bfc6e055b216f090908 /eval.c | |
parent | ccffa7aefc04aa6771945763d8f3df5e4c68b573 (diff) | |
download | ruby-aee3f4cdc74b1ffdf14488eb0c6f685edf465efe.tar.gz |
* vm_insnhelper.c: introduce rb_vm_pop_frame() and use it
instead of setting rb_thread_t::cfp directly.
* vm_insnhelper.c (vm_pop_frame): return the result of
finish frame or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -737,7 +737,7 @@ rb_raise_jump(VALUE mesg, VALUE cause) VALUE self = cfp->self; ID mid = me->called_id; - th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp); + rb_vm_pop_frame(th); EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, self, mid, klass, Qnil); setup_exception(th, TAG_RAISE, mesg, cause); |