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 | 8022abdc69b3707db7371ab21a2fdc40d578f614 (patch) | |
tree | 3138819d01df140a50911a0150a0c38c888292cb | |
parent | dd3eed4f08dd5232b5634f7f444bb8db60e65f60 (diff) | |
download | ruby-8022abdc69b3707db7371ab21a2fdc40d578f614.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Oct 9 19:11:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_thread_start_0): non-volatile should be restored from + volatile. + Thu Oct 9 17:43:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (proc_save_safe_level, proc_get_safe_level, @@ -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; |