From aee3f4cdc74b1ffdf14488eb0c6f685edf465efe Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 26 Jul 2016 10:28:21 +0000 Subject: * 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 --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') 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); -- cgit v1.2.3