diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-09 10:11:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-09 10:11:48 +0000 |
commit | 58fdef4c05842e8f373268ee6e6809df130c0016 (patch) | |
tree | 3138819d01df140a50911a0150a0c38c888292cb /eval.c | |
parent | 04f15f7157099871307ccc4ae11a5ba5c9557654 (diff) | |
download | ruby-58fdef4c05842e8f373268ee6e6809df130c0016.tar.gz ruby-58fdef4c05842e8f373268ee6e6809df130c0016.tar.xz ruby-58fdef4c05842e8f373268ee6e6809df130c0016.zip |
* eval.c (rb_thread_start_0): non-volatile should be restored from
volatile.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |