summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-11 07:41:14 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-11 07:41:14 +0000
commit78d7aa8ae37ab7be93c7dbf038024ec087851731 (patch)
treefbdb2bcc10c0b79888f856e6712b5ca7abd3f8ab /eval.c
parent740535f843d65be45732e45b9fc07eadc4d63ba7 (diff)
revert r44133. See https://bugs.ruby-lang.org/issues/8886 details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 7e64baa..873d549 100644
--- a/eval.c
+++ b/eval.c
@@ -688,10 +688,10 @@ rb_raise_jump(VALUE mesg)
VALUE self = cfp->self;
ID mid = cfp->me->called_id;
- setup_exception(th, TAG_RAISE, mesg);
-
th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp);
+ setup_exception(th, TAG_RAISE, mesg);
+
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, self, mid, klass, Qnil);
rb_thread_raised_clear(th);
JUMP_TAG(TAG_RAISE);