From 8022abdc69b3707db7371ab21a2fdc40d578f614 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 9 Oct 2003 10:11:48 +0000 Subject: * eval.c (rb_thread_start_0): non-volatile should be restored from volatile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index fa0daaa732..033134cb38 100644 --- a/eval.c +++ b/eval.c @@ -9436,11 +9436,12 @@ rb_thread_start_0(fn, arg, th) curr_thread = th; th->result = (*fn)(arg, th); } + th = th_save; } else if (TAG_DST()) { + th = th_save; th->result = prot_tag->retval; } - th = th_save; POP_TAG(); status = th->status; -- cgit v1.2.3