aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-26 10:28:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-26 10:28:21 +0000
commitaee3f4cdc74b1ffdf14488eb0c6f685edf465efe (patch)
treeae1387d18aa71ee6359c1bfc6e055b216f090908 /eval.c
parentccffa7aefc04aa6771945763d8f3df5e4c68b573 (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 475d6ca7a8..3241cb8048 100644
--- a/eval.c
+++ b/eval.c
@@ -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);